Switch from alt weapon holding when changing stance in realtime.

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8795 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Sevenfm
2020-04-29 06:15:36 +00:00
parent 0e9e13e838
commit b729583bcb
+6 -1
View File
@@ -3868,9 +3868,14 @@ void UIHandleSoldierStanceChange( UINT8 ubSoldierID, INT8 bNewStance )
pSoldier->usDontUpdateNewGridNoOnMoveAnimChange = 1;
}
pSoldier->ChangeSoldierState( pSoldier->usUIMovementMode, 0, FALSE );
}
// sevenfm: switch from alt weapon holding when changing stance in realtime
if (pSoldier->bScopeMode == USE_ALT_WEAPON_HOLD && bNewStance != ANIM_STAND)
{
ChangeScopeMode(pSoldier, NOWHERE);
ManLooksForOtherTeams(pSoldier);
}
}