TSAGE: Ringworld - Remove a useless variable

This commit is contained in:
Strangerke 2013-12-19 08:08:54 +01:00
parent 0948d06845
commit 0bcbf931ed
2 changed files with 6 additions and 3 deletions

View File

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

View File

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