Merge pull request #1353 from akortunov/restfix

Update effects during rest (bug #3679)
0.6.1
scrawl 8 years ago committed by GitHub
commit 4c2487d55f

@ -1447,6 +1447,11 @@ namespace MWMechanics
calculateCreatureStatModifiers (iter->first, duration);
if (iter->first.getClass().isNpc())
calculateNpcStatModifiers(iter->first, duration);
MWRender::Animation* animation = MWBase::Environment::get().getWorld()->getAnimation(iter->first);
if (animation)
animation->updateEffects(duration);
}
fastForwardAi();

@ -823,7 +823,10 @@ namespace MWWorld
mWeatherManager->advanceTime (hours, incremental);
if (!incremental)
{
mRendering->notifyWorldSpaceChanged();
mProjectileManager->clear();
}
hours += mGameHour->getFloat();

Loading…
Cancel
Save