diff options
author | Adrian Frühwirth | 2018-03-18 23:24:29 +0100 |
---|---|---|
committer | Adrian Frühwirth | 2018-03-18 23:38:52 +0100 |
commit | 23fd97c99a650cf2e99df72a74326520b9347fc7 (patch) | |
tree | 26da0010ebdf34b0b98eb5636dc0dc505b6d606d /engines/xeen/dialogs/dialogs_spells.cpp | |
parent | 99f5b3cfb25e8241f6dde9a19cd188f22d415ad7 (diff) | |
download | scummvm-rg350-23fd97c99a650cf2e99df72a74326520b9347fc7.tar.gz scummvm-rg350-23fd97c99a650cf2e99df72a74326520b9347fc7.tar.bz2 scummvm-rg350-23fd97c99a650cf2e99df72a74326520b9347fc7.zip |
TUCKER: Actually implement mof opcode
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.
Diffstat (limited to 'engines/xeen/dialogs/dialogs_spells.cpp')
0 files changed, 0 insertions, 0 deletions