- Fixed: M_NotifyNewSave() needlessly created a copy of the filename.

- Fixed: Any touching_sectorlists for actors unlinked in G_StartTravel() were
  lost forever.
- Fixed: DLightningThinker::Serialize() did not delete the old
  LightningLightLevels array when loading from an archive.
- Fixed: Although I moved the correct polyobject freeing code into
  P_FreeLevelData(), I left the old wrong code there too, which just deleted
  the array without deleting anything hanging off of it.


SVN r127 (trunk)
This commit is contained in:
Randy Heit 2006-05-18 04:25:26 +00:00
commit a39f5bb8f7
9 changed files with 46 additions and 23 deletions

View file

@ -41,6 +41,10 @@ void DLightningThinker::Serialize (FArchive &arc)
if (arc.IsLoading ())
{
if (LightningLightLevels != NULL)
{
delete[] LightningLightLevels;
}
LightningLightLevels = new BYTE[numsectors + (numsectors+7)/8];
}
lights = LightningLightLevels;