aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-01 08:32:30 -0400
committerPaul Gilbert2016-04-01 08:32:30 -0400
commit883e198eb3c5e54c2c3bc9b01f65f3420840873f (patch)
tree5f46493b9482ae95bae99a6dc9c137cea330ad1a /engines/titanic/pet_control/pet_control.h
parent43f183c207023c4398548ae385c9f3cbf853d9a9 (diff)
downloadscummvm-rg350-883e198eb3c5e54c2c3bc9b01f65f3420840873f.tar.gz
scummvm-rg350-883e198eb3c5e54c2c3bc9b01f65f3420840873f.tar.bz2
scummvm-rg350-883e198eb3c5e54c2c3bc9b01f65f3420840873f.zip
TITANIC: Implement PET CMouseButtonDownMsg handling
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r--engines/titanic/pet_control/pet_control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index be3b4a6118..26b358322b 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -169,9 +169,9 @@ public:
PetArea setArea(PetArea newSection);
/**
- * Returns true if the current area can be changed
+ * Returns true if the PET is currently unlocked
*/
- bool canChangeArea() const { return _locked == 0; }
+ bool isUnlocked() const { return _locked == 0; }
/**
* Returns a game object used by the PET by name from within the