1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 16:29:55 +00:00

Toggle the vanity camera off before toggling to the saved camera mode

This commit is contained in:
Evil Eye 2024-05-26 11:35:13 +02:00
parent c65f5adfba
commit 9027af426b

View file

@ -606,6 +606,7 @@ void MWState::StateManager::loadGame(const Character* character, const std::file
MWBase::Environment::get().getWorld()->renderPlayer();
MWBase::Environment::get().getWindowManager()->updatePlayer();
MWBase::Environment::get().getMechanicsManager()->playerLoaded();
MWBase::Environment::get().getWorld()->toggleVanityMode(false);
if (firstPersonCam != MWBase::Environment::get().getWorld()->isFirstPerson())
MWBase::Environment::get().getWorld()->togglePOV();