Skip to content

Lua move360 script doesn't respect the enableZoom/disableZoom Camera interface setting

Issue observed in pwn's QuickLoot mod:

The problem is that if you disable camera zoom by https://openmw.readthedocs.io/en/latest/reference/lua-scripting/interface_camera.html##(Camera).disableZoom , the 1st/3rd person camera switching when zooming in or out still works if the Move 360 option is enabled.

It's been found out that the move360 subscript doesn't check for that zoom blocking, so the fix suggested by taitechnic is one line in the script to add a not I.Camera.isZoomEnabled() to early return. I'll post an MR shortly.