aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/eob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/eob.cpp')
-rw-r--r--engines/kyra/eob.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/kyra/eob.cpp b/engines/kyra/eob.cpp
index 1fb4d0a790..05b1e03b96 100644
--- a/engines/kyra/eob.cpp
+++ b/engines/kyra/eob.cpp
@@ -338,6 +338,14 @@ void EoBEngine::replaceMonster(int unit, uint16 block, int pos, int dir, int typ
}
}
+bool EoBEngine::killMonsterExtra(EoBMonsterInPlay *m) {
+ if (m->type == 21) {
+ _playFinale = true;
+ _runFlag = false;
+ }
+ return true;
+}
+
void EoBEngine::updateScriptTimersExtra() {
int cnt = 0;
for (int i = 1; i < 30; i++) {