From 222ef33fb6be0abbc21d89e4353ae30698e2ce21 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 15 Jul 2017 22:40:28 -0400 Subject: TITANIC: Fix inventory scrolling when an item is selected --- engines/titanic/pet_control/pet_glyphs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/titanic/pet_control') diff --git a/engines/titanic/pet_control/pet_glyphs.cpp b/engines/titanic/pet_control/pet_glyphs.cpp index b42b87199b..0f640294fc 100644 --- a/engines/titanic/pet_control/pet_glyphs.cpp +++ b/engines/titanic/pet_control/pet_glyphs.cpp @@ -159,7 +159,7 @@ void CPetGlyphs::draw(CScreenManager *screenManager) { CPetGlyph *glyph = getGlyph(itemIndex); if (glyph) - glyph->drawAt(screenManager, pt, index == _highlightIndex); + glyph->drawAt(screenManager, pt, itemIndex == _highlightIndex); } } -- cgit v1.2.3