diff options
author | Paul Gilbert | 2016-12-08 22:35:33 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-12-08 22:35:33 -0500 |
commit | 301ab51735cf8c8aac88a3df7e3f8d87b4122bc7 (patch) | |
tree | f5c3a37de9641e99845dc695bb365a65b333ab5a /engines/titanic/pet_control/pet_control.h | |
parent | 42af800adbbf72242506be22637b08420fa32ff0 (diff) | |
download | scummvm-rg350-301ab51735cf8c8aac88a3df7e3f8d87b4122bc7.tar.gz scummvm-rg350-301ab51735cf8c8aac88a3df7e3f8d87b4122bc7.tar.bz2 scummvm-rg350-301ab51735cf8c8aac88a3df7e3f8d87b4122bc7.zip |
TITANIC: Don't allow GMM Loading/Saving if the PET area is locked
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r-- | engines/titanic/pet_control/pet_control.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h index 34d1330b52..af5ceb0a2a 100644 --- a/engines/titanic/pet_control/pet_control.h +++ b/engines/titanic/pet_control/pet_control.h @@ -354,7 +354,7 @@ public: /** * Returns true if the PET is currently unlocked */ - bool isAreaActive() const { return _areaLockCount == 0; } + bool isAreaUnlocked() const { return _areaLockCount == 0; } /** * Increment the number of PET area (tab) locks |