mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
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:
@@ -3868,9 +3868,14 @@ void UIHandleSoldierStanceChange( UINT8 ubSoldierID, INT8 bNewStance )
|
|||||||
pSoldier->usDontUpdateNewGridNoOnMoveAnimChange = 1;
|
pSoldier->usDontUpdateNewGridNoOnMoveAnimChange = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pSoldier->ChangeSoldierState( pSoldier->usUIMovementMode, 0, FALSE );
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user