From 301ab51735cf8c8aac88a3df7e3f8d87b4122bc7 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 8 Dec 2016 22:35:33 -0500 Subject: TITANIC: Don't allow GMM Loading/Saving if the PET area is locked --- engines/titanic/pet_control/pet_control.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/titanic/pet_control/pet_control.h') 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 -- cgit v1.2.3