diff options
author | Paul Gilbert | 2016-03-02 23:40:06 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-03-02 23:40:06 -0500 |
commit | e688850e932f0c8be6d10a73fe416c90799733b0 (patch) | |
tree | 48f01b46022f32b5b83089a830df8d5fa11a6192 /engines/titanic/game/phonograph_lid.cpp | |
parent | 3ae4e63c80cda635f941370e72536988bde67698 (diff) | |
download | scummvm-rg350-e688850e932f0c8be6d10a73fe416c90799733b0.tar.gz scummvm-rg350-e688850e932f0c8be6d10a73fe416c90799733b0.tar.bz2 scummvm-rg350-e688850e932f0c8be6d10a73fe416c90799733b0.zip |
TITANIC: Implemented more saveable classes
Diffstat (limited to 'engines/titanic/game/phonograph_lid.cpp')
-rw-r--r-- | engines/titanic/game/phonograph_lid.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/titanic/game/phonograph_lid.cpp b/engines/titanic/game/phonograph_lid.cpp index c7c1bd3328..a228af8c70 100644 --- a/engines/titanic/game/phonograph_lid.cpp +++ b/engines/titanic/game/phonograph_lid.cpp @@ -26,11 +26,13 @@ namespace Titanic { void CPhonographLid::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); + file->writeNumberLine(_value, indent); CGameObject::save(file, indent); } void CPhonographLid::load(SimpleFile *file) { file->readNumber(); + _value = file->readNumber(); CGameObject::load(file); } |