- 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:
Wanne
2010-02-20 22:31:13 +00:00
parent c45a64ee33
commit da4bef0a4a
+2 -2
View File
@@ -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.