diff options
author | Paul Gilbert | 2016-06-29 19:53:16 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-07-15 19:25:58 -0400 |
commit | 5ccc0a66da38d23520234e7060efaf966d3345b9 (patch) | |
tree | 9cff2311be2b8e9cd1f62e76ae74e15f3d4c18fc /engines/titanic/core/saveable_object.h | |
parent | a82bcd3ce7ef0ae604af45fdb56668fca47e7137 (diff) | |
download | scummvm-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/core/saveable_object.h')
-rw-r--r-- | engines/titanic/core/saveable_object.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/titanic/core/saveable_object.h b/engines/titanic/core/saveable_object.h index e067df2b99..6d80ad121d 100644 --- a/engines/titanic/core/saveable_object.h +++ b/engines/titanic/core/saveable_object.h @@ -85,7 +85,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 @@ -96,13 +96,13 @@ public: * Write out a header definition for the class to file * prior to saving the actual data for the class */ - virtual void saveHeader(SimpleFile *file, int indent) const; + virtual void saveHeader(SimpleFile *file, int indent); /** * Writes out a footer for the class after it's data has * been written to file */ - virtual void saveFooter(SimpleFile *file, int indent) const; + virtual void saveFooter(SimpleFile *file, int indent); }; } // End of namespace Titanic |