diff options
Diffstat (limited to 'engines/titanic/gfx/music_switch.h')
-rw-r--r-- | engines/titanic/gfx/music_switch.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/engines/titanic/gfx/music_switch.h b/engines/titanic/gfx/music_switch.h index 534eb251de..bd9397e041 100644 --- a/engines/titanic/gfx/music_switch.h +++ b/engines/titanic/gfx/music_switch.h @@ -28,24 +28,19 @@ namespace Titanic { class CMusicSwitch : public CMusicControl { + DECLARE_MESSAGE_MAP public: CLASSDEF /** * Save the data for the class to file */ - virtual void save(SimpleFile *file, int indent) const { - file->writeNumberLine(1, indent); - CMusicControl::save(file, indent); - } + virtual void save(SimpleFile *file, int indent) const; /** * Load the data for the class from file */ - virtual void load(SimpleFile *file) { - file->readNumber(); - CMusicControl::load(file); - } + virtual void load(SimpleFile *file); }; } // End of namespace Titanic |