diff options
author | Strangerke | 2013-11-02 16:22:11 +0100 |
---|---|---|
committer | Strangerke | 2013-11-02 16:22:35 +0100 |
commit | 7e1f280a9b56e48ea2e64a54018794c71bdefc51 (patch) | |
tree | 149bdb4a14949d2617eebdafa32d21692fe287c1 /engines | |
parent | 1a738d07bb3c7c48b6e9e582982ce6954876a482 (diff) | |
download | scummvm-rg350-7e1f280a9b56e48ea2e64a54018794c71bdefc51.tar.gz scummvm-rg350-7e1f280a9b56e48ea2e64a54018794c71bdefc51.tar.bz2 scummvm-rg350-7e1f280a9b56e48ea2e64a54018794c71bdefc51.zip |
TSAGE: Ringworld - Remove one useless variable. Savegame compatibility preserved.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tsage/ringworld/ringworld_scenes6.cpp | 9 | ||||
-rw-r--r-- | engines/tsage/ringworld/ringworld_scenes6.h | 3 |
2 files changed, 5 insertions, 7 deletions
diff --git a/engines/tsage/ringworld/ringworld_scenes6.cpp b/engines/tsage/ringworld/ringworld_scenes6.cpp index 9c18830a30..65c1ed39c6 100644 --- a/engines/tsage/ringworld/ringworld_scenes6.cpp +++ b/engines/tsage/ringworld/ringworld_scenes6.cpp @@ -2032,13 +2032,15 @@ void Scene5300::Hotspot8::doAction(int action) { /*--------------------------------------------------------------------------*/ Scene5300::Scene5300() : - _hotspot3(0, CURSOR_LOOK, 5300, 3, CURSOR_USE, 5300, 16, LIST_END) { - _field1B0A = 1; + _hotspot3(0, CURSOR_LOOK, 5300, 3, CURSOR_USE, 5300, 16, LIST_END) { } void Scene5300::synchronize(Serializer &s) { Scene::synchronize(s); - s.syncAsSint16LE(_field1B0A); + if (s.getVersion() < 11) { + int useless = 0; + s.syncAsSint16LE(useless); + } } void Scene5300::postInit(SceneObjectList *OwnerList) { @@ -2125,7 +2127,6 @@ void Scene5300::postInit(SceneObjectList *OwnerList) { setAction(&_sequenceManager, this, 5306, &g_globals->_player, &_hotspot3, NULL); } - _field1B0A = 1; if (RING_INVENTORY._bone._sceneNumber == 5300) { _hotspot5.postInit(); _hotspot5.setVisage(5301); diff --git a/engines/tsage/ringworld/ringworld_scenes6.h b/engines/tsage/ringworld/ringworld_scenes6.h index 8b08f3bf01..4c10e4a711 100644 --- a/engines/tsage/ringworld/ringworld_scenes6.h +++ b/engines/tsage/ringworld/ringworld_scenes6.h @@ -319,9 +319,6 @@ public: Hotspot7 _hotspot7; Hotspot8 _hotspot8; - // Useless variable, but removing it would break the savegames. - int _field1B0A; - Scene5300(); virtual void postInit(SceneObjectList *OwnerList = NULL); virtual void signal(); |