mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
Fix paralyzed actors' death animations
This commit is contained in:
parent
98847333c1
commit
366906ac51
@ -1580,7 +1580,8 @@ namespace MWMechanics
|
||||
else if (!isPlayer)
|
||||
iter->first.getRefData().getBaseNode()->setNodeMask(MWRender::Mask_Actor);
|
||||
|
||||
if (iter->first.getClass().getCreatureStats(iter->first).isParalyzed())
|
||||
const bool isDead = iter->first.getClass().getCreatureStats(iter->first).isDead();
|
||||
if (!isDead && iter->first.getClass().getCreatureStats(iter->first).isParalyzed())
|
||||
ctrl->skipAnim();
|
||||
|
||||
// Handle player last, in case a cell transition occurs by casting a teleportation spell
|
||||
|
Loading…
x
Reference in New Issue
Block a user