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:
parent
a7b42b867b
commit
8b7889f8e5
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue