1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-30 13:06:46 +00:00

Update active spells during rest

This commit is contained in:
Andrei Kortunov 2020-06-08 11:29:38 +04:00
parent 27a113167c
commit 3dd4023e8d

View file

@ -2051,6 +2051,8 @@ namespace MWMechanics
for(PtrActorMap::iterator iter(mActors.begin()); iter != mActors.end(); ++iter)
{
iter->first.getClass().getCreatureStats(iter->first).getActiveSpells().update(duration);
if (iter->first.getClass().getCreatureStats(iter->first).isDead())
continue;