aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/xeen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/xeen.cpp')
-rw-r--r--engines/xeen/xeen.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/xeen/xeen.cpp b/engines/xeen/xeen.cpp
index 81f629e22f..44679eeb90 100644
--- a/engines/xeen/xeen.cpp
+++ b/engines/xeen/xeen.cpp
@@ -200,6 +200,9 @@ void XeenEngine::play() {
_combat->_moveMonsters = true;
gameLoop();
+
+ if (_party->_dead)
+ death();
}
void XeenEngine::gameLoop() {