aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorathrxx2013-04-27 15:34:34 +0200
committerathrxx2013-04-27 21:28:26 +0200
commitbe7486ffef6406131fb316d46aeefcd93beec7ac (patch)
treec1543306f0dd8de55c9c5fc8a95fa978d2427b8b /engines
parent90db6590f887b8148fb073b79648c8c69df34f92 (diff)
downloadscummvm-rg350-be7486ffef6406131fb316d46aeefcd93beec7ac.tar.gz
scummvm-rg350-be7486ffef6406131fb316d46aeefcd93beec7ac.tar.bz2
scummvm-rg350-be7486ffef6406131fb316d46aeefcd93beec7ac.zip
KYRA: (EOB) - minor fix in NPC sequence code
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/eob.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/kyra/eob.cpp b/engines/kyra/eob.cpp
index 05b1e03b96..405ea2129a 100644
--- a/engines/kyra/eob.cpp
+++ b/engines/kyra/eob.cpp
@@ -178,13 +178,14 @@ void EoBEngine::runNpcDialogue(int npcIndex) {
case 1:
if (!checkScriptFlags(0x10000)) {
if (checkScriptFlags(0x8000)) {
- a = 1;
+ a = 13;
} else {
setScriptFlags(0x8000);
r = DLG2(3, 3);
+ a = 4;
}
if (!r)
- r = DLG2(a ? 13 : 4, 4);
+ r = DLG2(a, 4);
if (!r) {
for (a = 0; a < 6; a++)
@@ -214,8 +215,8 @@ void EoBEngine::runNpcDialogue(int npcIndex) {
if (!checkScriptFlags(0x100000)) {
if (deletePartyItems(6, -1)) {
- //_npcSequenceSub = 0;
- //drawNpcScene(npcIndex);
+ _npcSequenceSub = 0;
+ drawNpcScene(npcIndex);
TXT(28);
createItemOnCurrentBlock(32);
setScriptFlags(0x100000);