diff options
Diffstat (limited to 'engines/titanic/game/long_stick_dispenser.cpp')
-rw-r--r-- | engines/titanic/game/long_stick_dispenser.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/titanic/game/long_stick_dispenser.cpp b/engines/titanic/game/long_stick_dispenser.cpp index bdd6240c70..97981cc01d 100644 --- a/engines/titanic/game/long_stick_dispenser.cpp +++ b/engines/titanic/game/long_stick_dispenser.cpp @@ -26,11 +26,19 @@ namespace Titanic { void CLongStickDispenser::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); + file->writeNumberLine(_fieldBC, indent); + file->writeNumberLine(_fieldC0, indent); + file->writeNumberLine(_fieldC4, indent); + CGameObject::save(file, indent); } void CLongStickDispenser::load(SimpleFile *file) { file->readNumber(); + _fieldBC = file->readNumber(); + _fieldC0 = file->readNumber(); + _fieldC4 = file->readNumber(); + CGameObject::load(file); } |