Skip to content

Commit

Permalink
TITANIC: Fix Tab key toggle for Starfield/Photo being broken
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Aug 21, 2017
1 parent ca05dff commit 2edd59d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions engines/titanic/pet_control/pet_control.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 2edd59d

Please sign in to comment.