- 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:
parent
ba01f00d7c
commit
a39f5bb8f7
9 changed files with 46 additions and 23 deletions
|
|
@ -2926,12 +2926,6 @@ void P_FreeLevelData ()
|
|||
delete[] PolyBlockMap;
|
||||
PolyBlockMap = NULL;
|
||||
}
|
||||
po_NumPolyobjs = 0;
|
||||
if (polyobjs != NULL)
|
||||
{
|
||||
delete[] polyobjs;
|
||||
polyobjs = NULL;
|
||||
}
|
||||
if (rejectmatrix != NULL)
|
||||
{
|
||||
delete[] rejectmatrix;
|
||||
|
|
@ -2972,6 +2966,7 @@ void P_FreeLevelData ()
|
|||
delete[] polyobjs;
|
||||
polyobjs = NULL;
|
||||
}
|
||||
po_NumPolyobjs = 0;
|
||||
if (zones != NULL)
|
||||
{
|
||||
delete[] zones;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue