Fixes #1144: Don't refreshCurrentAnims when adding already dead actors

openmw-30
scrawl 11 years ago
parent 64a30ad182
commit fc7e79027a

@ -489,12 +489,13 @@ CharacterController::CharacterController(const MWWorld::Ptr &ptr, MWRender::Anim
mIdleState = CharState_Idle;
}
refreshCurrentAnims(mIdleState, mMovementState, true);
if(mDeathState != CharState_None)
{
playRandomDeath(1.0f);
}
else
refreshCurrentAnims(mIdleState, mMovementState, true);
}
CharacterController::~CharacterController()

Loading…
Cancel
Save