mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-03 16:11:32 +00:00
Remove useless comparison.
This commit is contained in:
parent
48fb6bb9e8
commit
c025b8f8f3
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue