From 0627a4244d6af625569df0445108a9c0056ca833 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sat, 28 Jan 2012 22:29:19 +0100 Subject: GOB: Play the lungs animation when breathing --- engines/gob/minigames/geisha/diving.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3