aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r--engines/titanic/pet_control/pet_control.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index 454fc0991b..d42dff598c 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -340,12 +340,12 @@ public:
* Returns true if all input is currently locked (disabled)
*/
bool isInputLocked() const { return _inputLockCount > 0; }
-
+
/**
* Increments the input locked count
*/
void incInputLocks() { ++_inputLockCount; }
-
+
/**
* Decremenst the input locked count
*/
@@ -364,7 +364,7 @@ public:
/**
* Decrement the number of PET area (tab) locks
*/
- void decAreaLocks() {
+ void decAreaLocks() {
_areaLockCount = MAX(_areaLockCount - 1, 0);
}