aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/minigames/geisha
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/minigames/geisha')
-rw-r--r--engines/gob/minigames/geisha/diving.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/gob/minigames/geisha/diving.cpp b/engines/gob/minigames/geisha/diving.cpp
index 12571be7ff..75e63118e2 100644
--- a/engines/gob/minigames/geisha/diving.cpp
+++ b/engines/gob/minigames/geisha/diving.cpp
@@ -431,8 +431,10 @@ void Diving::updateAirMeter() {
if (_oko->isBreathing()) {
_airCycle = 0;
_airMeter->increase();
+ _lungs->setPause(false);
return;
- }
+ } else
+ _lungs->setPause(true);
_airCycle = (_airCycle + 1) % kAirDecreaseRate;