[Scummvm-git-logs] scummvm master -> 222ef33fb6be0abbc21d89e4353ae30698e2ce21

dreammaster dreammaster at scummvm.org
Sun Jul 16 04:40:32 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
222ef33fb6 TITANIC: Fix inventory scrolling when an item is selected


Commit: 222ef33fb6be0abbc21d89e4353ae30698e2ce21
    https://github.com/scummvm/scummvm/commit/222ef33fb6be0abbc21d89e4353ae30698e2ce21
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-07-15T22:40:28-04:00

Commit Message:
TITANIC: Fix inventory scrolling when an item is selected

Changed paths:
    engines/titanic/pet_control/pet_glyphs.cpp


diff --git a/engines/titanic/pet_control/pet_glyphs.cpp b/engines/titanic/pet_control/pet_glyphs.cpp
index b42b871..0f64029 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);
 		}
 	}
 





More information about the Scummvm-git-logs mailing list