diff options
author | Strangerke | 2013-12-19 08:08:54 +0100 |
---|---|---|
committer | Strangerke | 2013-12-19 08:08:54 +0100 |
commit | 0bcbf931ed205a3b1523bc03f2bbdb0b33d9b1f6 (patch) | |
tree | 20fab8aeeb1918d1a5cb955e584e264064d40c26 /engines | |
parent | 0948d068458d2e4f07891dd8739fcd8e2221723f (diff) | |
download | scummvm-rg350-0bcbf931ed205a3b1523bc03f2bbdb0b33d9b1f6.tar.gz scummvm-rg350-0bcbf931ed205a3b1523bc03f2bbdb0b33d9b1f6.tar.bz2 scummvm-rg350-0bcbf931ed205a3b1523bc03f2bbdb0b33d9b1f6.zip |
TSAGE: Ringworld - Remove a useless variable
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/ringworld/ringworld_scenes5.cpp | 8 | ||||
-rw-r--r-- | engines/tsage/ringworld/ringworld_scenes5.h | 1 |
2 files changed, 6 insertions, 3 deletions
diff --git a/engines/tsage/ringworld/ringworld_scenes5.cpp b/engines/tsage/ringworld/ringworld_scenes5.cpp index a3cc08f330..1242f9f448 100644 --- a/engines/tsage/ringworld/ringworld_scenes5.cpp +++ b/engines/tsage/ringworld/ringworld_scenes5.cpp @@ -4222,7 +4222,12 @@ void Scene4300::process(Event &event) { void Scene4301::Action1::synchronize(Serializer &s) { Action::synchronize(s); - s.syncAsSint16LE(_field34E); + + if (s.getVersion() < 14) { + int useless = 0; + s.syncAsSint16LE(useless); + } + for (int idx = 0; idx < 6; ++idx) s.syncAsSint16LE(_indexList[idx]); } @@ -4268,7 +4273,6 @@ void Scene4301::Action1::signal() { scene->_hotspot3.fixPriority(255); scene->_hotspot3.hide(); - _field34E = 0; _state = 0; _actionIndex = 2; break; diff --git a/engines/tsage/ringworld/ringworld_scenes5.h b/engines/tsage/ringworld/ringworld_scenes5.h index 2fe26d9712..b49d2a6f02 100644 --- a/engines/tsage/ringworld/ringworld_scenes5.h +++ b/engines/tsage/ringworld/ringworld_scenes5.h @@ -656,7 +656,6 @@ class Scene4301 : public Scene { class Action1 : public ActionExt { public: SceneObject _buttonList[6]; - int _field34E; int _indexList[6]; virtual void synchronize(Serializer &s); |