diff options
Diffstat (limited to 'engines/titanic/game/elevator_action_area.cpp')
-rw-r--r-- | engines/titanic/game/elevator_action_area.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/titanic/game/elevator_action_area.cpp b/engines/titanic/game/elevator_action_area.cpp index 3beef1b0e1..c9916bfc73 100644 --- a/engines/titanic/game/elevator_action_area.cpp +++ b/engines/titanic/game/elevator_action_area.cpp @@ -26,11 +26,13 @@ namespace Titanic { void CElevatorActionArea::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); + file->writeNumberLine(_value, indent); CGameObject::save(file, indent); } void CElevatorActionArea::load(SimpleFile *file) { file->readNumber(); + _value = file->readNumber(); CGameObject::load(file); } |