diff --git a/CHANGELOG.md b/CHANGELOG.md index e014b1ff36..9d9104199e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -140,10 +140,11 @@ Bug #5137: Textures with Clamp Mode set to Clamp instead of Wrap are too dark outside the boundaries Bug #5149: Failing lock pick attempts isn't always a crime Bug #5155: Lock/unlock behavior differs from vanilla + Bug #5158: Objects without a name don't fallback to their ID Bug #5159: NiMaterialColorController can only control the diffuse color Bug #5161: Creature companions can't be activated when they are knocked down Bug #5164: Faction owned items handling is incorrect - Bug #5188: Objects without a name don't fallback to their ID + Bug #5166: Scripts still should be executed after player's death Feature #1774: Handle AvoidNode Feature #2229: Improve pathfinding AI Feature #3025: Analogue gamepad movement controls diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index d5ab73213e..7c92236ed9 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -112,8 +112,8 @@ bool OMW::Engine::frame(float frametime) bool guiActive = mEnvironment.getWindowManager()->isGuiMode(); osg::Timer_t beforeScriptTick = osg::Timer::instance()->tick(); - if (mEnvironment.getStateManager()->getState()== - MWBase::StateManager::State_Running) + if (mEnvironment.getStateManager()->getState()!= + MWBase::StateManager::State_NoGame) { if (!paused) {