mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-09 04:15:40 -04: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
@ -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…
x
Reference in New Issue
Block a user