diff options
author | Paul Gilbert | 2016-04-16 23:16:30 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:11:18 -0400 |
commit | d971edf02ea8074b71be852fdcee48e095ff49a9 (patch) | |
tree | 79bc95e4864a5c014c92f8c559986cf84bf70101 /engines/titanic/pet_control/pet_control.cpp | |
parent | 066dd4f5cd1b0f5408cd0da5ef9050a738edc4b0 (diff) | |
download | scummvm-rg350-d971edf02ea8074b71be852fdcee48e095ff49a9.tar.gz scummvm-rg350-d971edf02ea8074b71be852fdcee48e095ff49a9.tar.bz2 scummvm-rg350-d971edf02ea8074b71be852fdcee48e095ff49a9.zip |
TITANIC: Stubs for selecting highlighted PET glyph
Diffstat (limited to 'engines/titanic/pet_control/pet_control.cpp')
-rw-r--r-- | engines/titanic/pet_control/pet_control.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_control.cpp b/engines/titanic/pet_control/pet_control.cpp index b9f1359746..25ab972df9 100644 --- a/engines/titanic/pet_control/pet_control.cpp +++ b/engines/titanic/pet_control/pet_control.cpp @@ -371,8 +371,8 @@ void CPetControl::addToInventory(CCarry *item) { _inventory.itemsChanged(); setArea(PET_INVENTORY); - if (_currentArea != PET_INVENTORY) - _inventory.couldntShowInventory(item); + if (_currentArea == PET_INVENTORY) + _inventory.highlightItem(item); makeDirty(); CPETGainedObjectMsg msg; |