mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 16:59:06 +00:00
TSAGE: Ringworld - Remove one useless variable. Savegame compatibility preserved.
This commit is contained in:
parent
1a738d07bb
commit
7e1f280a9b
engines/tsage/ringworld
@ -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);
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user