mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Convert gusSelectedSoldier to SoldierID
This commit is contained in:
@@ -317,7 +317,7 @@ void SetUpInterface( )
|
||||
{
|
||||
if ( gusSelectedSoldier != NOBODY )
|
||||
{
|
||||
if ( MercPtrs[ gusSelectedSoldier ]->sGridNo != gsUIHandleShowMoveGridLocation )
|
||||
if ( gusSelectedSoldier->sGridNo != gsUIHandleShowMoveGridLocation )
|
||||
{
|
||||
if ( gfUIHandleShowMoveGrid == 2 )
|
||||
{
|
||||
@@ -327,7 +327,7 @@ void SetUpInterface( )
|
||||
}
|
||||
else
|
||||
{
|
||||
if ( MercPtrs[ gusSelectedSoldier ]->bStealthMode )
|
||||
if ( gusSelectedSoldier->bStealthMode )
|
||||
{
|
||||
AddTopmostToHead( gsUIHandleShowMoveGridLocation, GetSnapCursorIndex( FIRSTPOINTERS9 ) );
|
||||
gpWorldLevelData[gsUIHandleShowMoveGridLocation].pTopmostHead->ubShadeLevel=DEFAULT_SHADE_LEVEL;
|
||||
|
||||
Reference in New Issue
Block a user