Fixed an incorrect check in Script::finishDialog

svn-id: r27274
This commit is contained in:
Filippos Karapetis 2007-06-10 03:21:16 +00:00
parent 55addca7ff
commit a121e4ce05

View File

@ -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)