TSAGE: Removed useless variable from R2R scene 1580

This commit is contained in:
Paul Gilbert 2013-11-07 08:47:47 -05:00
parent 0fbef1f2d0
commit 987dff6635
2 changed files with 1 additions and 7 deletions

View File

@ -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);

View File

@ -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;