aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/minigames/geisha/diving.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/gob/minigames/geisha/diving.cpp b/engines/gob/minigames/geisha/diving.cpp
index d94ce0838c..6b891b4c31 100644
--- a/engines/gob/minigames/geisha/diving.cpp
+++ b/engines/gob/minigames/geisha/diving.cpp
@@ -128,6 +128,10 @@ bool Diving::play(uint16 playerCount, bool hasPearlLocation) {
checkShots();
checkOkoHurt();
+ // Is Oko dead?
+ if (_oko->isPaused())
+ break;
+
updateAirMeter();
updateEvilFish();
updateDecorFish();