diff options
author | Sven Hesse | 2012-06-06 01:47:43 +0200 |
---|---|---|
committer | Sven Hesse | 2012-06-06 03:33:34 +0200 |
commit | 93dda1b227fa11d1da2d923ca63a580343f6ba4e (patch) | |
tree | 83877e8af270b81d1a218de3bdeeb6b1c6cb2cd2 /engines/gob/minigames | |
parent | ac76994781fedecbfa74cd43d0983dcd7b06f12c (diff) | |
download | scummvm-rg350-93dda1b227fa11d1da2d923ca63a580343f6ba4e.tar.gz scummvm-rg350-93dda1b227fa11d1da2d923ca63a580343f6ba4e.tar.bz2 scummvm-rg350-93dda1b227fa11d1da2d923ca63a580343f6ba4e.zip |
GOB: const correctness
Diffstat (limited to 'engines/gob/minigames')
-rw-r--r-- | engines/gob/minigames/geisha/evilfish.cpp | 2 | ||||
-rw-r--r-- | engines/gob/minigames/geisha/evilfish.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/minigames/geisha/evilfish.cpp b/engines/gob/minigames/geisha/evilfish.cpp index c7ef9d5622..05ae9d0ad4 100644 --- a/engines/gob/minigames/geisha/evilfish.cpp +++ b/engines/gob/minigames/geisha/evilfish.cpp @@ -171,7 +171,7 @@ void EvilFish::mutate(uint16 animSwimLeft, uint16 animSwimRight, } } -bool EvilFish::isDead() { +bool EvilFish::isDead() const { return !isVisible() || (_state == kStateNone) || (_state == kStateDie); } diff --git a/engines/gob/minigames/geisha/evilfish.h b/engines/gob/minigames/geisha/evilfish.h index 81efb676e2..4c82629461 100644 --- a/engines/gob/minigames/geisha/evilfish.h +++ b/engines/gob/minigames/geisha/evilfish.h @@ -58,7 +58,7 @@ public: uint16 animTurnLeft, uint16 animTurnRight, uint16 animDie); /** Is the fish dead? */ - bool isDead(); + bool isDead() const; private: enum State { |