Call the WindowManager::updatePlayer after the startup script is run

pull/202/head
scrawl 8 years ago
parent 1ffb9e1bf3
commit c2240e3af1

@ -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()

Loading…
Cancel
Save