aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-29 19:53:16 -0400
committerPaul Gilbert2016-07-15 19:25:58 -0400
commit5ccc0a66da38d23520234e7060efaf966d3345b9 (patch)
tree9cff2311be2b8e9cd1f62e76ae74e15f3d4c18fc /engines/titanic/pet_control/pet_control.h
parenta82bcd3ce7ef0ae604af45fdb56668fca47e7137 (diff)
downloadscummvm-rg350-5ccc0a66da38d23520234e7060efaf966d3345b9.tar.gz
scummvm-rg350-5ccc0a66da38d23520234e7060efaf966d3345b9.tar.bz2
scummvm-rg350-5ccc0a66da38d23520234e7060efaf966d3345b9.zip
TITANIC: Removed const modifier from all saveable objects
Turns out that CGameObject::save regenerates the _movieRangeInfo list. So the const suffix can no longer be used for the entire hierarchy
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r--engines/titanic/pet_control/pet_control.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index 75b92d734e..e56d8f8f90 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -81,7 +81,7 @@ private:
/**
* Saves data for the individual areas
*/
- void saveAreas(SimpleFile *file, int indent) const;
+ void saveAreas(SimpleFile *file, int indent);
/**
* Called at the end of the post game-load handling
@@ -125,7 +125,7 @@ public:
/**
* Save the data for the class to file
*/
- virtual void save(SimpleFile *file, int indent) const;
+ virtual void save(SimpleFile *file, int indent);
/**
* Load the data for the class from file