From 56f98a8574f99e9d4eb9f59d08b54d2c1eb7fa64 Mon Sep 17 00:00:00 2001 From: Florian Kagerer Date: Sat, 11 Dec 2010 23:51:50 +0000 Subject: [PATCH] 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 --- engines/scumm/script_v5.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp index d3e1ba43eff..9e245aa168e 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)