aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2007-06-10 03:21:16 +0000
committerFilippos Karapetis2007-06-10 03:21:16 +0000
commita121e4ce05842859f69928e02bd73cda0c123213 (patch)
treec5cf03e26b775ef94a2551938d7fb1bed74e9572
parent55addca7ff2c3667dac140bd0cd3095e5e01b91a (diff)
downloadscummvm-rg350-a121e4ce05842859f69928e02bd73cda0c123213.tar.gz
scummvm-rg350-a121e4ce05842859f69928e02bd73cda0c123213.tar.bz2
scummvm-rg350-a121e4ce05842859f69928e02bd73cda0c123213.zip
Fixed an incorrect check in Script::finishDialog
svn-id: r27274
-rw-r--r--engines/saga/sfuncs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp
index 1a439b3b76..08e80cb799 100644
--- a/engines/saga/sfuncs.cpp
+++ b/engines/saga/sfuncs.cpp
@@ -1839,7 +1839,7 @@ void Script::finishDialog(int strID, int replyID, int flags, int bitOffset) {
if (_vm->getGameType() == GType_IHNM) {
str = _conversingThread->_strings->getString(strID);
- if (strcmp(str, "[") != 0) {
+ if (*str != '[') {
int sampleResourceId = -1;
sampleResourceId = _conversingThread->_voiceLUT->voices[strID];
if (sampleResourceId < 0 || sampleResourceId > 4000)