mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
23fd97c99a
When the 'mof' opcode was added in commit 1946dead77 it was implemented as a NOOP, but what it actually should do is disable the mouse (set _cursorState to kCursorStateDisabledHidden). This is used in at least the Spanish and Polish versions of the game to work around an earlier script bug which allowed the player to use the mouse while freeing the professor in part two. This commit fixes the 'mof' instruction so that the original script works as intended in those versions that ship with the fix. TODO: Add a workaround for those game versions which don't do the 'mof' themselves.