mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-12 20:06:43 +00:00
Minor fix in move360.lua. Scrolling shouldn't toggle view mode when TAB is pressed.
This commit is contained in:
parent
e70d2be1ee
commit
c1344c4765
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ function M.onInputAction(action)
|
||||||
if not active or core.isWorldPaused() or
|
if not active or core.isWorldPaused() or
|
||||||
not input.getControlSwitch(input.CONTROL_SWITCH.ViewMode) or
|
not input.getControlSwitch(input.CONTROL_SWITCH.ViewMode) or
|
||||||
not input.getControlSwitch(input.CONTROL_SWITCH.Controls) or
|
not input.getControlSwitch(input.CONTROL_SWITCH.Controls) or
|
||||||
|
input.isActionPressed(input.ACTION.TogglePOV) or
|
||||||
not I.Camera.isModeControlEnabled() then
|
not I.Camera.isModeControlEnabled() then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue