[Scummvm-cvs-logs] SF.net SVN: scummvm:[54872] scummvm/trunk/engines/scumm/script_v5.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Sun Dec 12 00:51:51 CET 2010


Revision: 54872
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54872&view=rev
Author:   athrxx
Date:     2010-12-11 23:51:50 +0000 (Sat, 11 Dec 2010)

Log Message:
-----------
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).

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/script_v5.cpp

Modified: scummvm/trunk/engines/scumm/script_v5.cpp
===================================================================
--- scummvm/trunk/engines/scumm/script_v5.cpp	2010-12-11 23:48:29 UTC (rev 54871)
+++ scummvm/trunk/engines/scumm/script_v5.cpp	2010-12-11 23:51:50 UTC (rev 54872)
@@ -2308,6 +2308,10 @@
 			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)


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list