diff options
author | Paul Gilbert | 2016-04-23 11:16:33 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-10 16:11:47 -0400 |
commit | 58e1a807f3c7c9e0342ef1edd964d6d13de57dc3 (patch) | |
tree | 8ba734b03ca8ccaef46077a0de6ca7b523b830f0 /engines/titanic/pet_control/pet_inventory.h | |
parent | 990f7b87c1b328b0cb2b663d37f4a1de50edf56c (diff) | |
download | scummvm-rg350-58e1a807f3c7c9e0342ef1edd964d6d13de57dc3.tar.gz scummvm-rg350-58e1a807f3c7c9e0342ef1edd964d6d13de57dc3.tar.bz2 scummvm-rg350-58e1a807f3c7c9e0342ef1edd964d6d13de57dc3.zip |
TITANIC: Clean up on element highlighting
Diffstat (limited to 'engines/titanic/pet_control/pet_inventory.h')
-rw-r--r-- | engines/titanic/pet_control/pet_inventory.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_inventory.h b/engines/titanic/pet_control/pet_inventory.h index ed1b679c63..969e253676 100644 --- a/engines/titanic/pet_control/pet_inventory.h +++ b/engines/titanic/pet_control/pet_inventory.h @@ -112,9 +112,7 @@ public: */ virtual void leave(); - virtual CGameObject *getBackground(int index) const { - return (index >= 0 && index < 46) ? _itemBackgrounds[index] : nullptr; - } + virtual CGameObject *getBackground(int index) const; /** * |