1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-25 06:35:30 +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)