diff --git a/source/games/duke/src/savegame.cpp b/source/games/duke/src/savegame.cpp index 33a7f27c2..cfba2970e 100644 --- a/source/games/duke/src/savegame.cpp +++ b/source/games/duke/src/savegame.cpp @@ -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; }