aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2013-11-02 16:12:57 +0100
committerStrangerke2013-11-02 16:12:57 +0100
commit3c5168ca11ba069d609d75329e9940c0eb13fab6 (patch)
tree5a086135e2f28b9da6974a16406af39b13241c10 /engines
parent5510a285edbe276e6c52d30d3a98154d4407f004 (diff)
downloadscummvm-rg350-3c5168ca11ba069d609d75329e9940c0eb13fab6.tar.gz
scummvm-rg350-3c5168ca11ba069d609d75329e9940c0eb13fab6.tar.bz2
scummvm-rg350-3c5168ca11ba069d609d75329e9940c0eb13fab6.zip
TSAGE: BF - Remove a couple of useless variables. Savegame compatibility preserved.
Diffstat (limited to 'engines')
-rw-r--r--engines/tsage/blue_force/blueforce_scenes0.cpp7
-rw-r--r--engines/tsage/blue_force/blueforce_scenes0.h2
-rw-r--r--engines/tsage/blue_force/blueforce_scenes4.h2
3 files changed, 5 insertions, 6 deletions
diff --git a/engines/tsage/blue_force/blueforce_scenes0.cpp b/engines/tsage/blue_force/blueforce_scenes0.cpp
index 7c52d67f80..06be605c1a 100644
--- a/engines/tsage/blue_force/blueforce_scenes0.cpp
+++ b/engines/tsage/blue_force/blueforce_scenes0.cpp
@@ -942,7 +942,6 @@ void Scene60::Action3::signal() {
scene->_stripManager.start(71, this);
break;
case 2:
- scene->_field1222 = true;
BF_GLOBALS._player.enableControl();
remove();
break;
@@ -956,7 +955,6 @@ Scene60::Scene60(): SceneExt() {
_sceneNumber = 0;
_visage = 0;
_cursorId = CURSOR_NONE;
- _field1222 = false;
}
void Scene60::synchronize(Serializer &s) {
@@ -966,7 +964,10 @@ void Scene60::synchronize(Serializer &s) {
s.syncAsSint16LE(_sceneNumber);
s.syncAsSint16LE(_visage);
s.syncAsSint16LE(_cursorId);
- s.syncAsSint16LE(_field1222);
+ if (s.getVersion() < 11) {
+ int useless = 0;
+ s.syncAsSint16LE(useless);
+ }
}
void Scene60::postInit(SceneObjectList *OwnerList) {
diff --git a/engines/tsage/blue_force/blueforce_scenes0.h b/engines/tsage/blue_force/blueforce_scenes0.h
index dd502c5f30..e7ee06e779 100644
--- a/engines/tsage/blue_force/blueforce_scenes0.h
+++ b/engines/tsage/blue_force/blueforce_scenes0.h
@@ -174,8 +174,6 @@ public:
int _sceneNumber;
int _visage;
CursorType _cursorId;
- // TODO: Check if really useless in original
- bool _field1222;
Scene60();
virtual void synchronize(Serializer &s);
diff --git a/engines/tsage/blue_force/blueforce_scenes4.h b/engines/tsage/blue_force/blueforce_scenes4.h
index f46b2afdde..d6d795a44e 100644
--- a/engines/tsage/blue_force/blueforce_scenes4.h
+++ b/engines/tsage/blue_force/blueforce_scenes4.h
@@ -118,7 +118,7 @@ public:
ASoundExt _sound1;
int _action1Count, _talkCount, _field1FBA;
int _cuffedDriverFl, _field1FBE;
- int _field1FC0; // Useless variable
+ int _field1FC0;
int _field1FC2, _harrisonMovedFl;
Scene410();