diff options
author | Sven Hesse | 2012-01-28 22:29:19 +0100 |
---|---|---|
committer | Sven Hesse | 2012-01-28 22:29:19 +0100 |
commit | 0627a4244d6af625569df0445108a9c0056ca833 (patch) | |
tree | eacfa1d22c53cea27dc49ec5d962e17d368baf5a /engines/gob/minigames/geisha | |
parent | 9fba98415de3fe4bd0549075eed9f7b42400f8c5 (diff) | |
download | scummvm-rg350-0627a4244d6af625569df0445108a9c0056ca833.tar.gz scummvm-rg350-0627a4244d6af625569df0445108a9c0056ca833.tar.bz2 scummvm-rg350-0627a4244d6af625569df0445108a9c0056ca833.zip |
GOB: Play the lungs animation when breathing
Diffstat (limited to 'engines/gob/minigames/geisha')
-rw-r--r-- | engines/gob/minigames/geisha/diving.cpp | 4 |
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; |