mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 01:39:57 +00:00
Fixed an incorrect check in Script::finishDialog
svn-id: r27274
This commit is contained in:
parent
55addca7ff
commit
a121e4ce05
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user