forked from mirror/openmw-tes3mp
Check creature stats only for actors
This commit is contained in:
parent
b0a140e714
commit
e3812f4075
1 changed files with 1 additions and 1 deletions
|
@ -847,7 +847,7 @@ CharacterController::CharacterController(const MWWorld::Ptr &ptr, MWRender::Anim
|
|||
}
|
||||
|
||||
// Do not update animation status for dead actors
|
||||
if(mDeathState == CharState_None && !cls.getCreatureStats(mPtr).isDead())
|
||||
if(mDeathState == CharState_None && (!cls.isActor() || !cls.getCreatureStats(mPtr).isDead()))
|
||||
refreshCurrentAnims(mIdleState, mMovementState, mJumpState, true);
|
||||
|
||||
mAnimation->runAnimation(0.f);
|
||||
|
|
Loading…
Reference in a new issue