mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- Fixed: To prevent the pointer cleanup code from crashing numsectors has
to be set to 0 when the sectors array is deleted. SVN r64 (trunk)
This commit is contained in:
parent
9aae758ec5
commit
1e1db5dd0c
2 changed files with 3 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
April 21, 2006 (Changes by Graf Zahl)
|
||||
- Fixed: To prevent the pointer cleanup code from crashing numsectors has
|
||||
to be set to 0 when the sectors array is deleted.
|
||||
- Added Zloba's fix for Linux's I_FindFirst.
|
||||
|
||||
April 20, 2006 (Changes by Graf Zahl)
|
||||
|
|
|
@ -2804,6 +2804,7 @@ void P_FreeLevelData ()
|
|||
{
|
||||
delete[] sectors;
|
||||
sectors = NULL;
|
||||
numsectors = 0; // needed for the pointer cleanup code
|
||||
}
|
||||
if (subsectors != NULL)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue