mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
- replaced NO_SOLDIER with NOBODY
- replaced NO_MAP_POS with NOWHERE git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1252 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1698,7 +1698,7 @@ BOOLEAN ReCreateSelectedSoldierLight( )
|
||||
{
|
||||
SOLDIERTYPE *pSoldier;
|
||||
|
||||
if ( gusSelectedSoldier == NO_SOLDIER )
|
||||
if ( gusSelectedSoldier == NOBODY )
|
||||
{
|
||||
return( FALSE );
|
||||
}
|
||||
@@ -2866,7 +2866,7 @@ void InternalRemoveSoldierFromGridNo( SOLDIERTYPE *pSoldier, BOOLEAN fForce )
|
||||
INT8 bDir;
|
||||
INT32 iGridNo;
|
||||
|
||||
if((pSoldier->sGridNo!=NO_MAP_POS) )
|
||||
if((pSoldier->sGridNo!=NOWHERE) )
|
||||
{
|
||||
if ( pSoldier->bInSector || fForce )
|
||||
{
|
||||
@@ -2892,7 +2892,7 @@ void InternalRemoveSoldierFromGridNo( SOLDIERTYPE *pSoldier, BOOLEAN fForce )
|
||||
HandleCrowShadowRemoveGridNo( pSoldier );
|
||||
|
||||
// Reset gridno...
|
||||
pSoldier->sGridNo = NO_MAP_POS;
|
||||
pSoldier->sGridNo = NOWHERE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user