From a121e4ce05842859f69928e02bd73cda0c123213 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 10 Jun 2007 03:21:16 +0000 Subject: Fixed an incorrect check in Script::finishDialog svn-id: r27274 --- engines/saga/sfuncs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3