aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2013-11-03 01:15:30 +0100
committerStrangerke2013-11-03 01:16:51 +0100
commit15bf7690037a30cff56594b2145bc0e20f035f48 (patch)
tree5bf96944a6b2bb41c338556b5330bc71ac3814f5
parent1b408217bdccb57f28a4ef283bebbecb60cf460d (diff)
downloadscummvm-rg350-15bf7690037a30cff56594b2145bc0e20f035f48.tar.gz
scummvm-rg350-15bf7690037a30cff56594b2145bc0e20f035f48.tar.bz2
scummvm-rg350-15bf7690037a30cff56594b2145bc0e20f035f48.zip
TSAGE: R2R - Remove a useless variable in scene 800. This breaks savegame compatibility.
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes0.cpp3
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes0.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.cpp b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
index 2302419db5..2190d2ef66 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes0.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes0.cpp
@@ -6890,14 +6890,12 @@ void Scene800::signal() {
Scene825::Button::Button(): SceneObject() {
_buttonId = 0;
- _v2 = 0;
_buttonDown = false;
}
void Scene825::Button::synchronize(Serializer &s) {
SceneObject::synchronize(s);
s.syncAsSint16LE(_buttonId);
- s.syncAsSint16LE(_v2);
s.syncAsSint16LE(_buttonDown);
}
@@ -6931,7 +6929,6 @@ bool Scene825::Button::startAction(CursorType action, Event &event) {
void Scene825::Button::setButton(int buttonId) {
SceneObject::postInit();
- _v2 = buttonId;
_buttonDown = 0;
_sceneText._color1 = 92;
_sceneText._color2 = 0;
diff --git a/engines/tsage/ringworld2/ringworld2_scenes0.h b/engines/tsage/ringworld2/ringworld2_scenes0.h
index 908e219a8f..2013b041c7 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes0.h
+++ b/engines/tsage/ringworld2/ringworld2_scenes0.h
@@ -806,7 +806,7 @@ class Scene825: public SceneExt {
/* Objects */
class Button: public SceneObject {
public:
- int _buttonId, _v2;
+ int _buttonId;
bool _buttonDown;
SceneText _sceneText;
public: