mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Fix for JaggZilla Bug #591
Mercs that were set to student with a trainer that was not good enough could practice without breath loss. They will still practice with this fix but they will lose breath as normal. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6473 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -14161,6 +14161,11 @@ BOOLEAN CharacterIsTakingItEasy( SOLDIERTYPE *pSoldier )
|
||||
{
|
||||
return( TRUE );
|
||||
}
|
||||
// silversurfer: Fix for JaggZilla bug #591. This guy is set as student and there is a trainer available that is awake.
|
||||
// Even if the trainer is not good enough this guy will still practice and therefore letting him fall through to
|
||||
// pSoldier->flags.fDoneAssignmentAndNothingToDoFlag will allow him to practice without breath loss. Lame exploit...
|
||||
else
|
||||
return( FALSE );
|
||||
}
|
||||
|
||||
// HEADROCK HAM 3.6: Added new resting assignment for facilities only.
|
||||
|
||||
Reference in New Issue
Block a user