Fixed bug in KyraEngine_v3::processDialog, should fix crash when talking to Bill in hell.
svn-id: r31764
This commit is contained in:
parent
7577e7548c
commit
37fb65ea3c
1 changed files with 3 additions and 3 deletions
|
@ -586,10 +586,10 @@ void KyraEngine_v3::processDialog(int vocHighIndex, int vocHighBase, int funcNum
|
||||||
if (script >= 0) {
|
if (script >= 0) {
|
||||||
dialogEndScript(script);
|
dialogEndScript(script);
|
||||||
script = -1;
|
script = -1;
|
||||||
} else {
|
|
||||||
dialogStartScript(object, funcNum);
|
|
||||||
script = object;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dialogStartScript(object, funcNum);
|
||||||
|
script = object;
|
||||||
}
|
}
|
||||||
|
|
||||||
npcChatSequence(_stringBuffer, object, vocHigh, vocLow);
|
npcChatSequence(_stringBuffer, object, vocHigh, vocLow);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue