diff options
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r-- | engines/titanic/pet_control/pet_control.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp index fd77f44117..73f6df58a0 100644 --- a/engines/titanic/pet_control/pet_control.cpp +++ b/engines/titanic/pet_control/pet_control.cpp @@ -336,8 +336,10 @@ bool CPetControl::KeyCharMsg(CKeyCharMsg *msg) { if (!result) { switch (msg->_key) { case Common::KEYCODE_TAB: - setArea(PET_INVENTORY); - result = true; + if (isAreaUnlocked()) { + setArea(PET_INVENTORY); + result = true; + } break; default: break; |