diff options
author | Paul Gilbert | 2017-07-15 22:40:28 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-07-15 22:40:28 -0400 |
commit | 222ef33fb6be0abbc21d89e4353ae30698e2ce21 (patch) | |
tree | bc30f472491f6e7113ea11ff14f59ce452ccea98 /engines/titanic | |
parent | b5d2c76a0fe56f5f33385c23a17eed5f7b3d4a9f (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/titanic/pet_control/pet_glyphs.cpp | 2 |
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); } } |