From c2240e3af1e3870f834eaeccdb7dd6e7f1275071 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 21 Apr 2017 00:51:13 +0200 Subject: [PATCH] Call the WindowManager::updatePlayer after the startup script is run --- apps/openmw/mwworld/worldimp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/openmw/mwworld/worldimp.cpp b/apps/openmw/mwworld/worldimp.cpp index 6ae348966..536f5ac76 100644 --- a/apps/openmw/mwworld/worldimp.cpp +++ b/apps/openmw/mwworld/worldimp.cpp @@ -222,8 +222,6 @@ namespace MWWorld renderPlayer(); mRendering->resetCamera(); - MWBase::Environment::get().getWindowManager()->updatePlayer(); - // we don't want old weather to persist on a new game // Note that if reset later, the initial ChangeWeather that the chargen script calls will be lost. delete mWeatherManager; @@ -283,6 +281,8 @@ namespace MWWorld if (!mStartupScript.empty()) MWBase::Environment::get().getWindowManager()->executeInConsole(mStartupScript); + + MWBase::Environment::get().getWindowManager()->updatePlayer(); } void World::clear()