1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 20:53:50 +00:00

setup player after loading a saved game

This commit is contained in:
Marc Zinnschlag 2013-12-05 14:22:08 +01:00
parent a7b42b867b
commit 8b7889f8e5

View file

@ -161,6 +161,10 @@ void MWState::StateManager::loadGame (const Character *character, const Slot *sl
Settings::Manager::setString ("character", "Saves",
slot->mPath.parent_path().filename().string());
MWBase::Environment::get().getWorld()->setupPlayer();
MWBase::Environment::get().getWorld()->renderPlayer();
MWBase::Environment::get().getWindowManager()->updatePlayer();
}
MWState::Character *MWState::StateManager::getCurrentCharacter (bool create)