mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- removed all old savegame handling
This commit is contained in:
parent
77a23e39c5
commit
771f5e3338
1 changed files with 0 additions and 18 deletions
|
@ -311,24 +311,6 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, DDukeActor& w, DDu
|
|||
.Array("temo_wall", w.temp_walls, def->temp_walls,2)
|
||||
("temp_sect", w.temp_sect, def->temp_sect)
|
||||
.EndObject();
|
||||
|
||||
#ifdef OLD_SAVEGAME
|
||||
// compat handling
|
||||
if (SaveVersion < 12 && arc.isReading())
|
||||
{
|
||||
if (w.s->picnum == SECTOREFFECTOR)
|
||||
{
|
||||
if (w.s->lotag == SE_20_STRETCH_BRIDGE)
|
||||
{
|
||||
for (int i : {0, 1}) w.temp_walls[i] = &wall[w.temp_data[i+1]];
|
||||
}
|
||||
if (w.s->lotag == SE_128_GLASS_BREAKING)
|
||||
{
|
||||
w.temp_walls[0] = &wall[w.temp_data[2]];
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
return arc;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue