Merge pull request #2898 from akortunov/master

Update active spells during rest
pull/578/head
Andrei Kortunov 5 years ago committed by GitHub
commit 3741355dca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;

Loading…
Cancel
Save