mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
If walking with an aimed gun, do not return to standing animation but to aiming animation.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7509 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -7163,6 +7163,15 @@ void SOLDIERTYPE::SoldierGotoStationaryStance( void )
|
||||
{
|
||||
this->EVENT_InitNewSoldierAnim( START_COWER, 0, FALSE );
|
||||
}
|
||||
// Flugente: if we walk with our gun raised, we should still have it raised once we stop walking
|
||||
else if ( this->usAnimState == WALKING_WEAPON_RDY || this->usAnimState == AIM_RIFLE_STAND )
|
||||
{
|
||||
this->EVENT_InitNewSoldierAnim( AIM_RIFLE_STAND, 0, FALSE );
|
||||
}
|
||||
else if ( this->usAnimState == WALKING_DUAL_RDY || this->usAnimState == AIM_DUAL_STAND )
|
||||
{
|
||||
this->EVENT_InitNewSoldierAnim( AIM_DUAL_STAND, 0, FALSE );
|
||||
}
|
||||
else
|
||||
{
|
||||
this->EVENT_InitNewSoldierAnim( STANDING, 0, FALSE );
|
||||
|
||||
Reference in New Issue
Block a user