diff options
-rw-r--r-- | engines/titanic/carry/plug_in.cpp | 4 | ||||
-rw-r--r-- | engines/titanic/carry/plug_in.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/titanic/carry/plug_in.cpp b/engines/titanic/carry/plug_in.cpp index 883458c9b1..438b9a5883 100644 --- a/engines/titanic/carry/plug_in.cpp +++ b/engines/titanic/carry/plug_in.cpp @@ -28,16 +28,18 @@ BEGIN_MESSAGE_MAP(CPlugIn, CCarry) ON_MESSAGE(UseWithOtherMsg) END_MESSAGE_MAP() -CPlugIn::CPlugIn() : CCarry(), _field12C(0) { +CPlugIn::CPlugIn() : CCarry(), _unused(0) { } void CPlugIn::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); + file->writeNumberLine(_unused, indent); CCarry::save(file, indent); } void CPlugIn::load(SimpleFile *file) { file->readNumber(); + _unused = file->readNumber(); CCarry::load(file); } diff --git a/engines/titanic/carry/plug_in.h b/engines/titanic/carry/plug_in.h index 1358a99e39..5f7d5dd2b0 100644 --- a/engines/titanic/carry/plug_in.h +++ b/engines/titanic/carry/plug_in.h @@ -31,7 +31,7 @@ class CPlugIn : public CCarry { DECLARE_MESSAGE_MAP; bool UseWithOtherMsg(CUseWithOtherMsg *msg); private: - int _field12C; + int _unused; public: CLASSDEF; CPlugIn(); |