mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-01 13:20:29 +00:00
Remove useless comparison.
This commit is contained in:
parent
48fb6bb9e8
commit
c025b8f8f3
@ -286,7 +286,7 @@ void CharacterController::refreshHitRecoilAnims()
|
||||
}
|
||||
else if (recovery)
|
||||
{
|
||||
std::string anim = isSwimming ? chooseRandomGroup("swimhit") : chooseRandomGroup("hit");
|
||||
std::string anim = chooseRandomGroup("swimhit");
|
||||
if (isSwimming && mAnimation->hasAnimation(anim))
|
||||
{
|
||||
mHitState = CharState_SwimHit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user