mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Convert MapScreenCharacterSt::usSolID to SoldierID
This commit is contained in:
@@ -1379,7 +1379,7 @@ void HandleCompletionOfTownTrainingByGroupWithTrainer( SOLDIERTYPE *pTrainer, UI
|
||||
continue;
|
||||
}
|
||||
|
||||
pSoldier = &Menptr[ gCharactersList[ iCounter ].usSolID ];
|
||||
pSoldier = gCharactersList[ iCounter ].usSolID;
|
||||
|
||||
// valid soldier?
|
||||
if( pSoldier->bActive == FALSE )
|
||||
@@ -1532,7 +1532,7 @@ void BuildListOfUnpaidTrainableSectors( UINT8 ubMilitiaType )
|
||||
// selected?
|
||||
if( ( fSelectedListOfMercsForMapScreen[ iCounter ] == TRUE ) || ( iCounter == bSelectedAssignChar ) )
|
||||
{
|
||||
pSoldier = &Menptr[ gCharactersList[ iCounter ].usSolID ];
|
||||
pSoldier = gCharactersList[ iCounter ].usSolID;
|
||||
|
||||
// HEADROCK HAM 3.6: Two different conditions depending on the type of militia being trained.
|
||||
if( ubMilitiaType == TOWN_MILITIA )
|
||||
|
||||
Reference in New Issue
Block a user