Do not reset mUpperBodyState for weapon->weapon switch (regression #4446)

0.6.3
Andrei Kortunov 7 years ago
parent 7d9de93fd3
commit ae87e0d3fc

@ -1214,7 +1214,6 @@ bool CharacterController::updateWeaponState()
bool animPlaying = mAnimation->getInfo(mCurrentWeapon, &complete);
if (!animPlaying || complete >= 1.0f)
{
mUpperBodyState = UpperCharState_Nothing;
forcestateupdate = true;
mAnimation->showCarriedLeft(updateCarriedLeftVisible(weaptype));

Loading…
Cancel
Save