° Fixed the bug when prone soldiers went to standing position after being suppressed instead of going to prone cowering animation.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5739 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Sandro
2012-12-17 14:26:34 +00:00
parent 0b683a8ac0
commit 2d5e8b1583
2 changed files with 4 additions and 3 deletions
+3 -2
View File
@@ -601,10 +601,11 @@ BOOLEAN AdjustToNextAnimationFrame( SOLDIERTYPE *pSoldier )
// ATE: if it's the begin cower animation, unset ui, cause it could
// be from player changin stance
if ( pSoldier->usAnimState == START_COWER )
if ( pSoldier->usAnimState == START_COWER || pSoldier->usAnimState == START_COWER_CROUCHED || pSoldier->usAnimState == START_COWER_PRONE )
{
UnSetUIBusy( pSoldier->ubID );
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// SANDRO - if pending interrupt flag was set for after-attack type of interupt, try to resolve it now
else if ( gGameOptions.fImprovedInterruptSystem )