aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2006-09-29 05:38:50 +0000
committerTravis Howell2006-09-29 05:38:50 +0000
commit98e761a7201cfc1de20570dad5c872d725896818 (patch)
tree4ce72a5dcc4558ef44b4a0af0fa405b642d9ab84 /engines
parent6b37e39904bfd0f9580725e314a4007d8877a559 (diff)
downloadscummvm-rg350-98e761a7201cfc1de20570dad5c872d725896818.tar.gz
scummvm-rg350-98e761a7201cfc1de20570dad5c872d725896818.tar.bz2
scummvm-rg350-98e761a7201cfc1de20570dad5c872d725896818.zip
Fix mistake in dumpOpcode()
svn-id: r24004
Diffstat (limited to 'engines')
-rw-r--r--engines/simon/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/simon/debug.cpp b/engines/simon/debug.cpp
index 15e69582e5..05f348ad31 100644
--- a/engines/simon/debug.cpp
+++ b/engines/simon/debug.cpp
@@ -40,7 +40,7 @@ const byte *SimonEngine::dumpOpcode(const byte *p) {
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++;