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:
@@ -3291,7 +3291,7 @@ BOOLEAN LoadWorld(const STR8 puiFilename, FLOAT* pMajorMapVersion, UINT8* pMinor
|
||||
// CHECK IF OUR SELECTED GUY IS GONE!
|
||||
if(gusSelectedSoldier != NOBODY)
|
||||
{
|
||||
if(MercPtrs[gusSelectedSoldier]->bActive == FALSE)
|
||||
if(gusSelectedSoldier->bActive == FALSE)
|
||||
gusSelectedSoldier = NOBODY;
|
||||
}
|
||||
AdjustSoldierCreationStartValues();
|
||||
|
||||
Reference in New Issue
Block a user