diff options
author | Sven Hesse | 2007-01-26 20:44:10 +0000 |
---|---|---|
committer | Sven Hesse | 2007-01-26 20:44:10 +0000 |
commit | a0d804411ae43577ed150953009119289a7690fb (patch) | |
tree | 0d7135cb764573883d5634a64a8e30e6dc400539 /engines/gob/parse_v2.cpp | |
parent | c32c50122a3900affe4c19c374fe68ee1aeac2c6 (diff) | |
download | scummvm-rg350-a0d804411ae43577ed150953009119289a7690fb.tar.gz scummvm-rg350-a0d804411ae43577ed150953009119289a7690fb.tar.bz2 scummvm-rg350-a0d804411ae43577ed150953009119289a7690fb.zip |
Changed one strcmp in Parse_v2::parseExpr() to scumm_stricmp, to fix bug #1632362 ("Moray Eel Game Freeze (Wreck Scene)").
The CD track name is "aquatique", while the script checks for "AQUATIQUE"
svn-id: r25207
Diffstat (limited to 'engines/gob/parse_v2.cpp')
-rw-r--r-- | engines/gob/parse_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/parse_v2.cpp b/engines/gob/parse_v2.cpp index bb3b6802af..6947bfe766 100644 --- a/engines/gob/parse_v2.cpp +++ b/engines/gob/parse_v2.cpp @@ -825,7 +825,7 @@ int16 Parse_v2::parseExpr(char stopToken, byte *arg_2) { strcpy(_vm->_global->_inter_resStr, decodePtr(valPtr[-3])); valPtr[-3] = encodePtr(_vm->_global->_inter_resStr, kResStr); } - if (strcmp(_vm->_global->_inter_resStr, decodePtr(valPtr[-1])) != 0) + if (scumm_stricmp(_vm->_global->_inter_resStr, decodePtr(valPtr[-1])) != 0) operPtr[-3] = 24; } stkPos -= 2; |