aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_rooms_glyphs.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-08-01 12:26:58 +0300
committerEugene Sandulenko2016-08-01 12:26:58 +0300
commit34cbdd8a1deddfc8d04263ec90c546a906543366 (patch)
tree31f60f37423a35f42e3d52033a5ae5f8f08a4fe6 /engines/titanic/pet_control/pet_rooms_glyphs.cpp
parentbb9c755bccb4312d5e7447b5efa9bac9224aafd4 (diff)
downloadscummvm-rg350-34cbdd8a1deddfc8d04263ec90c546a906543366.tar.gz
scummvm-rg350-34cbdd8a1deddfc8d04263ec90c546a906543366.tar.bz2
scummvm-rg350-34cbdd8a1deddfc8d04263ec90c546a906543366.zip
TITANIC: Fix warnings
Diffstat (limited to 'engines/titanic/pet_control/pet_rooms_glyphs.cpp')
-rw-r--r--engines/titanic/pet_control/pet_rooms_glyphs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_rooms_glyphs.cpp b/engines/titanic/pet_control/pet_rooms_glyphs.cpp
index 810342a23e..851ca0cb7a 100644
--- a/engines/titanic/pet_control/pet_rooms_glyphs.cpp
+++ b/engines/titanic/pet_control/pet_rooms_glyphs.cpp
@@ -57,7 +57,7 @@ bool CPetRoomsGlyph::setup(CPetControl *petControl, CPetGlyphs *owner) {
return true;
}
-void CPetRoomsGlyph::drawAt(CScreenManager *screenManager, const Point &pt, bool isHighlighted) {
+void CPetRoomsGlyph::drawAt(CScreenManager *screenManager, const Point &pt, bool isHighlighted_) {
// Clear background
Rect rect(pt.x, pt.y, pt.x + 52, pt.y + 52);
screenManager->fillRect(SURFACE_BACKBUFFER, &rect, 0, 0, 0);
@@ -74,7 +74,7 @@ void CPetRoomsGlyph::drawAt(CScreenManager *screenManager, const Point &pt, bool
CGameObject *obj4 = _object4;
CGameObject *obj5 = _object5;
- if (_field38 == 1 || isHighlighted) {
+ if (_field38 == 1 || isHighlighted_) {
_object0 = _object2;
_object1 = _object3;
_object4 = _object6;
@@ -203,7 +203,7 @@ int CPetRoomsGlyph::getSelection(const Point &topLeft, const Point &pt) {
for (int i = 0; i < 4; ++i) {
if (rects[i].contains(pt))
return btnIndex - i;
-
+
rects[i].translate(0, 10);
}
}