mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- Fixed return values in FindAnyAwakeTrainers() and FindAnyAwakeTrainees()
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3326 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -12802,7 +12802,7 @@ BOOLEAN FindAnyAwakeTrainers( SOLDIERTYPE *pTrainee )
|
||||
ubCounter++;
|
||||
}
|
||||
|
||||
return(fAllTrainersAsleep);
|
||||
return(!fAllTrainersAsleep);
|
||||
}
|
||||
|
||||
BOOLEAN FindAnyAwakeTrainees( SOLDIERTYPE *pTrainer )
|
||||
@@ -12837,7 +12837,7 @@ BOOLEAN FindAnyAwakeTrainees( SOLDIERTYPE *pTrainer )
|
||||
ubCounter++;
|
||||
}
|
||||
|
||||
return(fAllTraineesAsleep);
|
||||
return(!fAllTraineesAsleep);
|
||||
}
|
||||
|
||||
// HEADROCK HAM 3.6: A new set of functions (this & next) to determine whether a character can train Mobile Militia.
|
||||
|
||||
Reference in New Issue
Block a user