[Scummvm-cvs-logs] SF.net SVN: scummvm: [24004] scummvm/trunk/engines/simon/debug.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Fri Sep 29 07:38:54 CEST 2006


Revision: 24004
          http://svn.sourceforge.net/scummvm/?rev=24004&view=rev
Author:   kirben
Date:     2006-09-28 22:38:50 -0700 (Thu, 28 Sep 2006)

Log Message:
-----------
Fix mistake in dumpOpcode()

Modified Paths:
--------------
    scummvm/trunk/engines/simon/debug.cpp

Modified: scummvm/trunk/engines/simon/debug.cpp
===================================================================
--- scummvm/trunk/engines/simon/debug.cpp	2006-09-29 05:36:53 UTC (rev 24003)
+++ scummvm/trunk/engines/simon/debug.cpp	2006-09-29 05:38:50 UTC (rev 24004)
@@ -40,7 +40,7 @@
 	if (getGameType() == GType_ELVIRA || getGameType() == GType_ELVIRA2) {
 		opcode = READ_BE_UINT16(p);
 		p += 2;
-		if (opcode = 10000)
+		if (opcode == 10000)
 			return NULL;
 	} else {
 		opcode = *p++;


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