mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
° 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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user