aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2013-11-02 11:37:54 +0100
committerStrangerke2013-11-02 11:37:54 +0100
commit6a8a964ee7d0ca6741d1e3687d05fb3f02e72cc4 (patch)
tree1c3f30eee940afce5c62bc2e88d3d74380f1a2b0 /engines
parenta5895ace86bf38a37dfe8145e8d57bbf01676fad (diff)
downloadscummvm-rg350-6a8a964ee7d0ca6741d1e3687d05fb3f02e72cc4.tar.gz
scummvm-rg350-6a8a964ee7d0ca6741d1e3687d05fb3f02e72cc4.tar.bz2
scummvm-rg350-6a8a964ee7d0ca6741d1e3687d05fb3f02e72cc4.zip
TSAGE: R2R - Remove useless variable. That breaks savegames compatibility
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/globals.cpp3
-rw-r--r--engines/tsage/globals.h2
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes3.cpp1
3 files changed, 0 insertions, 6 deletions
diff --git a/engines/tsage/globals.cpp b/engines/tsage/globals.cpp
index 78a82586c2..598b940887 100644
--- a/engines/tsage/globals.cpp
+++ b/engines/tsage/globals.cpp
@@ -451,7 +451,6 @@ Ringworld2Globals::Ringworld2Globals() {
_fadePaletteFlag = false;
_insetUp = 0;
_frameEdgeColor = 2;
- _v558C2 = 0;
_animationCtr = 0;
_electromagnetChangeAmount = 0;
_electromagnetZoom = 0;
@@ -492,7 +491,6 @@ void Ringworld2Globals::reset() {
_fadePaletteFlag = false;
_v5589E.set(0, 0, 0, 0);
_v558B6.set(0, 0, 0, 0);
- _v558C2 = 0;
_animationCtr = 0;
_electromagnetChangeAmount = 0;
_electromagnetZoom = 0;
@@ -602,7 +600,6 @@ void Ringworld2Globals::synchronize(Serializer &s) {
_v5589E.synchronize(s);
_v558B6.synchronize(s);
- s.syncAsSint16LE(_v558C2);
s.syncAsSint16LE(_animationCtr);
s.syncAsSint16LE(_electromagnetChangeAmount);
s.syncAsSint16LE(_electromagnetZoom);
diff --git a/engines/tsage/globals.h b/engines/tsage/globals.h
index 6493229175..cc9058a928 100644
--- a/engines/tsage/globals.h
+++ b/engines/tsage/globals.h
@@ -194,7 +194,6 @@ public:
int _safeCombination;
int _gateStatus;
int _greenDay5TalkCtr;
- int _v4CEC4; // Useless variable
int _v4CEC8;
int _v4CECA;
int _v4CECC;
@@ -262,7 +261,6 @@ public:
int _frameEdgeColor;
Rect _v5589E;
Rect _v558B6;
- int _v558C2; // Unused variable. The original seems to use it only in the context of the cheat mode
int _animationCtr;
int _electromagnetChangeAmount;
int _electromagnetZoom;
diff --git a/engines/tsage/ringworld2/ringworld2_scenes3.cpp b/engines/tsage/ringworld2/ringworld2_scenes3.cpp
index 0f20c93c79..68131f9b7a 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes3.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes3.cpp
@@ -4665,7 +4665,6 @@ void Scene3600::signal() {
_sceneMode = 3607;
_protector.setAction(&_sequenceManager1, this, _sceneMode, &_protector, NULL);
- R2_GLOBALS._v558C2 = 1;
_protectorSpeaker.proc16();
_protectorSpeaker._displayMode = 1;
_quinnSpeaker._displayMode = 1;