mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-02 23:49:40 +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) {
|
if (_vm->getGameType() == GType_IHNM) {
|
||||||
str = _conversingThread->_strings->getString(strID);
|
str = _conversingThread->_strings->getString(strID);
|
||||||
if (strcmp(str, "[") != 0) {
|
if (*str != '[') {
|
||||||
int sampleResourceId = -1;
|
int sampleResourceId = -1;
|
||||||
sampleResourceId = _conversingThread->_voiceLUT->voices[strID];
|
sampleResourceId = _conversingThread->_voiceLUT->voices[strID];
|
||||||
if (sampleResourceId < 0 || sampleResourceId > 4000)
|
if (sampleResourceId < 0 || sampleResourceId > 4000)
|
||||||
|
Loading…
Reference in New Issue
Block a user