aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r--engines/titanic/pet_control/pet_glyphs.h2
-rw-r--r--engines/titanic/pet_control/pet_real_life.h2
-rw-r--r--engines/titanic/pet_control/pet_section.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/pet_control/pet_glyphs.h b/engines/titanic/pet_control/pet_glyphs.h
index 7271d6cd61..c07cc5ed9a 100644
--- a/engines/titanic/pet_control/pet_glyphs.h
+++ b/engines/titanic/pet_control/pet_glyphs.h
@@ -101,7 +101,7 @@ public:
/**
* Get the bounds for the glyph
*/
- virtual Rect getBounds() { return Rect(); }
+ virtual Rect getBounds() const { return Rect(); }
/**
* Called for mouse button down messages
diff --git a/engines/titanic/pet_control/pet_real_life.h b/engines/titanic/pet_control/pet_real_life.h
index a4ae67fa6b..40bc87d9b5 100644
--- a/engines/titanic/pet_control/pet_real_life.h
+++ b/engines/titanic/pet_control/pet_real_life.h
@@ -67,7 +67,7 @@ public:
/**
* Get the bounds for the section
*/
- virtual Rect getBounds() { return Rect(); }
+ virtual Rect getBounds() const { return Rect(); }
/**
* Following are handlers for the various messages that the PET can
diff --git a/engines/titanic/pet_control/pet_section.h b/engines/titanic/pet_control/pet_section.h
index 4047ab03de..8bc427e842 100644
--- a/engines/titanic/pet_control/pet_section.h
+++ b/engines/titanic/pet_control/pet_section.h
@@ -89,7 +89,7 @@ public:
/**
* Get the bounds for the section
*/
- virtual Rect getBounds() { return Rect(); }
+ virtual Rect getBounds() const { return Rect(); }
/**
* Called when a general change occurs