diff options
Diffstat (limited to 'engines/titanic/game/transport/pellerator.cpp')
-rw-r--r-- | engines/titanic/game/transport/pellerator.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/titanic/game/transport/pellerator.cpp b/engines/titanic/game/transport/pellerator.cpp index 1ab8935008..400214a140 100644 --- a/engines/titanic/game/transport/pellerator.cpp +++ b/engines/titanic/game/transport/pellerator.cpp @@ -24,13 +24,22 @@ namespace Titanic { +int CPellerator::_v1; +int CPellerator::_v2; + void CPellerator::save(SimpleFile *file, int indent) const { file->writeNumberLine(1, indent); + file->writeNumberLine(_v1, indent); + file->writeNumberLine(_v2, indent); + CTransport::save(file, indent); } void CPellerator::load(SimpleFile *file) { file->readNumber(); + _v1 = file->readNumber(); + _v2 = file->readNumber(); + CTransport::load(file); } |