Remove useless comparison.

0.6.3
Evgeny Kurnevsky 7 years ago
parent 48fb6bb9e8
commit c025b8f8f3
No known key found for this signature in database
GPG Key ID: 8FF444E5412D750C

@ -286,7 +286,7 @@ void CharacterController::refreshHitRecoilAnims()
} }
else if (recovery) else if (recovery)
{ {
std::string anim = isSwimming ? chooseRandomGroup("swimhit") : chooseRandomGroup("hit"); std::string anim = chooseRandomGroup("swimhit");
if (isSwimming && mAnimation->hasAnimation(anim)) if (isSwimming && mAnimation->hasAnimation(anim))
{ {
mHitState = CharState_SwimHit; mHitState = CharState_SwimHit;

Loading…
Cancel
Save