mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-10-04 06:56:35 +00:00
[Client] Update 3rd person model of local player when setting character
This commit is contained in:
parent
1ba36076f3
commit
06451c13d5
1 changed files with 3 additions and 0 deletions
|
@ -944,6 +944,9 @@ void LocalPlayer::setCharacter()
|
|||
world->createRecord(player);
|
||||
|
||||
MWBase::Environment::get().getMechanicsManager()->playerLoaded();
|
||||
|
||||
// This is needed to update the player's model instantly if they're in 3rd person
|
||||
world->reattachPlayerCamera();
|
||||
}
|
||||
|
||||
MWBase::Environment::get().getWindowManager()->getInventoryWindow()->rebuildAvatar();
|
||||
|
|
Loading…
Reference in a new issue