diff options
author | Sven Hesse | 2012-01-28 19:55:55 +0100 |
---|---|---|
committer | Sven Hesse | 2012-01-28 19:55:55 +0100 |
commit | c0d0792ccf346270f4def39182748e4c9f3def3d (patch) | |
tree | 2d11b0b21e6dbb884f14b6da29cd766cd32722db /engines/gob/minigames/geisha | |
parent | 4b60a761a0ec5694178ac236e24136823d8907d9 (diff) | |
download | scummvm-rg350-c0d0792ccf346270f4def39182748e4c9f3def3d.tar.gz scummvm-rg350-c0d0792ccf346270f4def39182748e4c9f3def3d.tar.bz2 scummvm-rg350-c0d0792ccf346270f4def39182748e4c9f3def3d.zip |
GOB: End the Diving minigame when Oko is dead
Diffstat (limited to 'engines/gob/minigames/geisha')
-rw-r--r-- | engines/gob/minigames/geisha/diving.cpp | 4 |
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(); |