diff options
author | Florian Kagerer | 2010-12-11 23:51:50 +0000 |
---|---|---|
committer | Florian Kagerer | 2010-12-11 23:51:50 +0000 |
commit | 56f98a8574f99e9d4eb9f59d08b54d2c1eb7fa64 (patch) | |
tree | 9768000a13a6313257ba8e92d8e3be99e7d540b6 /engines | |
parent | 85c8960d8bb3cf6bc3ab1473bfaa799dad265db7 (diff) | |
download | scummvm-rg350-56f98a8574f99e9d4eb9f59d08b54d2c1eb7fa64.tar.gz scummvm-rg350-56f98a8574f99e9d4eb9f59d08b54d2c1eb7fa64.tar.bz2 scummvm-rg350-56f98a8574f99e9d4eb9f59d08b54d2c1eb7fa64.zip |
SCUMM/FM-TOWNS: hopefully fix bug #1463434
o5_verbOps() case 9 (SO_VERB_NEW) works slightly different in SCUMM 3 FM-TOWNS (I don't know about DOS).
This should fix the issue with the broken key shortcuts.
Old savegames won't be fixed, though (since the broken verb states will be restored from the save file).
svn-id: r54872
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/script_v5.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp index d3e1ba43ef..9e245aa168 100644 --- a/engines/scumm/script_v5.cpp +++ b/engines/scumm/script_v5.cpp @@ -2308,6 +2308,10 @@ void ScummEngine_v5::o5_verbOps() { break; case 9: // SO_VERB_NEW slot = getVerbSlot(verb, 0); + + if (_game.platform == Common::kPlatformFMTowns && _game.version == 3 && slot) + continue; + if (slot == 0) { for (slot = 1; slot < _numVerbs; slot++) { if (_verbs[slot].verbid == 0) |