aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control
diff options
context:
space:
mode:
authorPaul Gilbert2017-07-15 22:40:28 -0400
committerPaul Gilbert2017-07-15 22:40:28 -0400
commit222ef33fb6be0abbc21d89e4353ae30698e2ce21 (patch)
treebc30f472491f6e7113ea11ff14f59ce452ccea98 /engines/titanic/pet_control
parentb5d2c76a0fe56f5f33385c23a17eed5f7b3d4a9f (diff)
downloadscummvm-rg350-222ef33fb6be0abbc21d89e4353ae30698e2ce21.tar.gz
scummvm-rg350-222ef33fb6be0abbc21d89e4353ae30698e2ce21.tar.bz2
scummvm-rg350-222ef33fb6be0abbc21d89e4353ae30698e2ce21.zip
TITANIC: Fix inventory scrolling when an item is selected
Diffstat (limited to 'engines/titanic/pet_control')
-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);
}
}