Convert SOLDIERTYPE::ubRobotRemoteHolderID to SoldierID

This commit is contained in:
Asdow
2024-11-15 23:56:26 +02:00
parent 566ead5815
commit 75deccbc44
5 changed files with 7 additions and 9 deletions
+1 -1
View File
@@ -2835,7 +2835,7 @@ void RetreatButtonCallback( GUI_BUTTON *btn, INT32 reason )
if( gpAR->pRobotCell )
{
//if robot is retreating, set the retreat time to be the same as the robot's controller.
UINT16 ubRobotControllerID;
SoldierID ubRobotControllerID;
ubRobotControllerID = gpAR->pRobotCell->pSoldier->ubRobotRemoteHolderID;