diff options
author | Strangerke | 2013-11-24 02:08:55 +0100 |
---|---|---|
committer | Strangerke | 2013-11-24 02:08:55 +0100 |
commit | 250d15c5a0348f5d4b91f6f922f802c19b372408 (patch) | |
tree | 0819e83df848c480971f7945691852c5c02077a0 /engines/tsage/ringworld2 | |
parent | 17fa43eabc80b92427f6a42b47b304cd90b3ff72 (diff) | |
download | scummvm-rg350-250d15c5a0348f5d4b91f6f922f802c19b372408.tar.gz scummvm-rg350-250d15c5a0348f5d4b91f6f922f802c19b372408.tar.bz2 scummvm-rg350-250d15c5a0348f5d4b91f6f922f802c19b372408.zip |
TSAGE: R2R - Remove an unused variable in maze UI
Diffstat (limited to 'engines/tsage/ringworld2')
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_logic.cpp | 6 | ||||
-rw-r--r-- | engines/tsage/ringworld2/ringworld2_logic.h | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_logic.cpp b/engines/tsage/ringworld2/ringworld2_logic.cpp index 67bd84a247..c88b0cf527 100644 --- a/engines/tsage/ringworld2/ringworld2_logic.cpp +++ b/engines/tsage/ringworld2/ringworld2_logic.cpp @@ -1502,7 +1502,7 @@ MazeUI::MazeUI() { _cellSize.x = _cellSize.y = 0; _mapOffset.x = _mapOffset.y = 0; _resNum = _cellsResNum = 0; - _frameCount = _resCount = _mapImagePitch = _unused = 0; + _frameCount = _resCount = _mapImagePitch = 0; } MazeUI::~MazeUI() { @@ -1518,7 +1518,9 @@ void MazeUI::synchronize(Serializer &s) { s.syncAsSint16LE(_mapOffset.x); s.syncAsSint16LE(_mapOffset.y); - s.syncAsSint16LE(_unused); + + int dummy = 0; + s.syncAsSint16LE(dummy); } void MazeUI::load(int resNum) { diff --git a/engines/tsage/ringworld2/ringworld2_logic.h b/engines/tsage/ringworld2/ringworld2_logic.h index 41ddb277de..c9695c921d 100644 --- a/engines/tsage/ringworld2/ringworld2_logic.h +++ b/engines/tsage/ringworld2/ringworld2_logic.h @@ -307,7 +307,6 @@ public: int _frameCount; int _resCount; int _mapImagePitch; - int _unused; public: MazeUI(); virtual ~MazeUI(); |