diff options
Diffstat (limited to 'engines/titanic/game/doorbot_elevator_handler.cpp')
-rw-r--r-- | engines/titanic/game/doorbot_elevator_handler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/titanic/game/doorbot_elevator_handler.cpp b/engines/titanic/game/doorbot_elevator_handler.cpp index 1a85793bdd..e4232c087b 100644 --- a/engines/titanic/game/doorbot_elevator_handler.cpp +++ b/engines/titanic/game/doorbot_elevator_handler.cpp @@ -24,15 +24,19 @@ namespace Titanic { +int CDoorbotElevatorHandler::_v1; + void CDoorbotElevatorHandler::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); file->writeNumberLine(_value, indent); + file->writeNumberLine(_v1, indent); CGameObject::save(file, indent); } void CDoorbotElevatorHandler::load(SimpleFile *file) { file->readNumber(); _value = file->readNumber(); + _v1 = file->readNumber(); CGameObject::load(file); } |