- 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
|
|
@ -2804,6 +2804,7 @@ void P_FreeLevelData ()
|
|||
{
|
||||
delete[] sectors;
|
||||
sectors = NULL;
|
||||
numsectors = 0; // needed for the pointer cleanup code
|
||||
}
|
||||
if (subsectors != NULL)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue