mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 21:09:42 +00:00
Fix player looking/controls
This commit is contained in:
parent
8c8fffc2c6
commit
ccb506385f
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ namespace MWInput
|
|||
};
|
||||
|
||||
// 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)
|
||||
{
|
||||
MWWorld::Player& player = MWBase::Environment::get().getWorld()->getPlayer();
|
||||
|
|
Loading…
Reference in a new issue