mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Convert to SoldierID
This commit is contained in:
+5
-5
@@ -108,10 +108,10 @@ INT32 giCounterPeriodOverlay = 0;
|
||||
BOOLEAN gfExitToNewSector = FALSE;
|
||||
//UINT8 gubNewSectorExitDirection;
|
||||
|
||||
BOOLEAN gfGameScreenLocateToSoldier = FALSE;
|
||||
BOOLEAN gfEnteringMapScreen = FALSE;
|
||||
UINT32 uiOldMouseCursor;
|
||||
UINT16 gubPreferredInitialSelectedGuy = NOBODY;
|
||||
BOOLEAN gfGameScreenLocateToSoldier = FALSE;
|
||||
BOOLEAN gfEnteringMapScreen = FALSE;
|
||||
UINT32 uiOldMouseCursor;
|
||||
SoldierID gubPreferredInitialSelectedGuy = NOBODY;
|
||||
|
||||
BOOLEAN gfTacticalIsModal = FALSE;
|
||||
MOUSE_REGION gTacticalDisableRegion;
|
||||
@@ -1038,7 +1038,7 @@ void TacticalScreenLocateToSoldier( )
|
||||
if ( gubPreferredInitialSelectedGuy != NOBODY )
|
||||
{
|
||||
// ATE: Put condition here...
|
||||
if ( OK_CONTROLLABLE_MERC( MercPtrs[ gubPreferredInitialSelectedGuy ] ) && OK_INTERRUPT_MERC( MercPtrs[ gubPreferredInitialSelectedGuy ] ) )
|
||||
if ( OK_CONTROLLABLE_MERC( gubPreferredInitialSelectedGuy ) && OK_INTERRUPT_MERC( gubPreferredInitialSelectedGuy ) )
|
||||
{
|
||||
LocateSoldier( gubPreferredInitialSelectedGuy, 10 );
|
||||
SelectSoldier( gubPreferredInitialSelectedGuy, FALSE, TRUE );
|
||||
|
||||
Reference in New Issue
Block a user