From a6e76530b248c6ad61aac0fc4496e126ca6cd77b Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 19 Apr 2016 21:23:52 -0400 Subject: TITANIC: Implement RealLife tab setup --- engines/titanic/pet_control/pet_inventory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/titanic/pet_control/pet_inventory.cpp') diff --git a/engines/titanic/pet_control/pet_inventory.cpp b/engines/titanic/pet_control/pet_inventory.cpp index 9a3ee83be2..063f019655 100644 --- a/engines/titanic/pet_control/pet_inventory.cpp +++ b/engines/titanic/pet_control/pet_inventory.cpp @@ -148,7 +148,7 @@ int CPetInventory::getItemIndex(CGameObject *item) const { CGameObject *CPetInventory::getImage(int index) { if (index >= 0 && index < 46) { int offset = index - 20; - int bits; + int bits = 0; switch (offset) { case 0: bits = 4; -- cgit v1.2.3