aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2013-11-07 08:47:47 -0500
committerPaul Gilbert2013-11-07 08:47:47 -0500
commit987dff66352be8a32a0b186f3494c90d770d9d0d (patch)
treea3f9d928c8aa195ecfa958ec3f9f7bc9bd1d2670
parent0fbef1f2d0f98aef627f01bbbec7751bc58468bc (diff)
downloadscummvm-rg350-987dff66352be8a32a0b186f3494c90d770d9d0d.tar.gz
scummvm-rg350-987dff66352be8a32a0b186f3494c90d770d9d0d.tar.bz2
scummvm-rg350-987dff66352be8a32a0b186f3494c90d770d9d0d.zip
TSAGE: Removed useless variable from R2R scene 1580
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes1.cpp6
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes1.h2
2 files changed, 1 insertions, 7 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
index 8ab073237f..975a22b6e3 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
@@ -9724,13 +9724,10 @@ void Scene1575::dispatch() {
*--------------------------------------------------------------------------*/
Scene1580::Scene1580() {
- _field412 = 0;
}
void Scene1580::synchronize(Serializer &s) {
SceneExt::synchronize(s);
-
- s.syncAsSint16LE(_field412);
}
bool Scene1580::JoystickPlug::startAction(CursorType action, Event &event) {
@@ -9774,7 +9771,7 @@ bool Scene1580::ScreenSlot::startAction(CursorType action, Event &event) {
scene->_screenDisplay.setup(1580, 3, 1);
scene->_screenDisplay.setPosition(Common::Point(124, 109));
scene->_screenDisplay.fixPriority(20);
- scene->_field412 = 1;
+ //scene->_field412 = 1;
scene->_sceneMode = 10;
scene->setAction(&scene->_sequenceManager, scene, 1, &R2_GLOBALS._player, NULL);
@@ -9914,7 +9911,6 @@ void Scene1580::postInit(SceneObjectList *OwnerList) {
loadScene(1580);
R2_GLOBALS._sceneManager._fadeMode = FADEMODE_GRADUAL;
SceneExt::postInit();
- _field412 = 0;
_stripManager.setColors(60, 255);
_stripManager.setFontNumber(3);
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.h b/engines/tsage/ringworld2/ringworld2_scenes1.h
index 96aafe134e..7360e95d60 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.h
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.h
@@ -663,8 +663,6 @@ class Scene1580 : public SceneExt {
virtual bool startAction(CursorType action, Event &event);
};
public:
- //CHECKME: Useless variable?
- int _field412;
SpeakerQuinn _quinnSpeaker;
SpeakerSeeker _seekerSpeaker;
JoystickPlug _joystickPlug;