Fixed bug in KyraEngine_v3::processDialog, should fix crash when talking to Bill in hell.

svn-id: r31764
This commit is contained in:
Johannes Schickel 2008-04-28 20:09:54 +00:00
parent 7577e7548c
commit 37fb65ea3c

View file

@ -586,10 +586,10 @@ void KyraEngine_v3::processDialog(int vocHighIndex, int vocHighBase, int funcNum
if (script >= 0) {
dialogEndScript(script);
script = -1;
} else {
dialogStartScript(object, funcNum);
script = object;
}
dialogStartScript(object, funcNum);
script = object;
}
npcChatSequence(_stringBuffer, object, vocHigh, vocLow);