aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/titanic/pet_control/pet_glyphs.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}
}