diff options
author | Paul Gilbert | 2016-09-02 22:34:10 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-09-02 22:34:10 -0400 |
commit | e2c68e0a7dcb2eeb10072df84f1ac6dfefa8d1f1 (patch) | |
tree | c75c467470ae6501cad1721e1ff8369adda94704 | |
parent | 86a139dc028858de27d0ca86d7e90c0f3c5cdc04 (diff) | |
download | scummvm-rg350-e2c68e0a7dcb2eeb10072df84f1ac6dfefa8d1f1.tar.gz scummvm-rg350-e2c68e0a7dcb2eeb10072df84f1ac6dfefa8d1f1.tar.bz2 scummvm-rg350-e2c68e0a7dcb2eeb10072df84f1ac6dfefa8d1f1.zip |
TITANIC: Cleanup of CPlugIn
-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(); |