diff options
-rw-r--r-- | engines/simon/debug.cpp | 2 |
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++; |