Fix player looking/controls

fix-osga-rotate-wildly
Zackhasacat 11 months ago
parent 8c8fffc2c6
commit ccb506385f

@ -220,7 +220,7 @@ namespace MWInput
}; };
// Only actually turn player when we're not in vanity mode // Only actually turn player when we're not in vanity mode
bool controls = MWBase::Environment::get().getInputManager()->getControlSwitch("playercontrols"); bool controls = MWBase::Environment::get().getInputManager()->getControlSwitch("playerlooking");
if (!MWBase::Environment::get().getWorld()->vanityRotateCamera(rot) && controls) if (!MWBase::Environment::get().getWorld()->vanityRotateCamera(rot) && controls)
{ {
MWWorld::Player& player = MWBase::Environment::get().getWorld()->getPlayer(); MWWorld::Player& player = MWBase::Environment::get().getWorld()->getPlayer();

Loading…
Cancel
Save