Skip to content

Commit

Permalink
TSAGE: Ringworld - Remove a useless variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Strangerke committed Dec 19, 2013
1 parent 0948d06 commit 0bcbf93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 6 additions & 2 deletions engines/tsage/ringworld/ringworld_scenes5.cpp
Expand Up @@ -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]);
}
Expand Down Expand Up @@ -4268,7 +4273,6 @@ void Scene4301::Action1::signal() {
scene->_hotspot3.fixPriority(255);
scene->_hotspot3.hide();

_field34E = 0;
_state = 0;
_actionIndex = 2;
break;
Expand Down
1 change: 0 additions & 1 deletion engines/tsage/ringworld/ringworld_scenes5.h
Expand Up @@ -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);
Expand Down

0 comments on commit 0bcbf93

Please sign in to comment.