1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 03:32:36 +00:00

Merge branch 'move360_fix' into 'master'

Minor fix in move360.lua. Scrolling shouldn't toggle view mode when TAB is pressed.

See merge request OpenMW/openmw!2114
This commit is contained in:
psi29a 2022-07-09 20:55:56 +00:00
commit f1fd0d2e4a

View File

@ -62,6 +62,7 @@ function M.onInputAction(action)
if not active or core.isWorldPaused() or
not input.getControlSwitch(input.CONTROL_SWITCH.ViewMode) or
not input.getControlSwitch(input.CONTROL_SWITCH.Controls) or
input.isActionPressed(input.ACTION.TogglePOV) or
not I.Camera.isModeControlEnabled() then
return
end