- Added a few 'activator == NULL' checks to some ACS functions.
- Added line and vertex lists to polyobjects so that I can do some changes that won't work with only a seg list being maintained. SVN r1016 (trunk)
This commit is contained in:
parent
165875c7df
commit
8a3edf9716
9 changed files with 123 additions and 53 deletions
|
|
@ -3093,21 +3093,6 @@ void P_FreeLevelData ()
|
|||
}
|
||||
if (polyobjs != NULL)
|
||||
{
|
||||
for (int i = 0; i < po_NumPolyobjs; ++i)
|
||||
{
|
||||
if (polyobjs[i].segs != NULL)
|
||||
{
|
||||
delete[] polyobjs[i].segs;
|
||||
}
|
||||
if (polyobjs[i].originalPts != NULL)
|
||||
{
|
||||
delete[] polyobjs[i].originalPts;
|
||||
}
|
||||
if (polyobjs[i].prevPts != NULL)
|
||||
{
|
||||
delete[] polyobjs[i].prevPts;
|
||||
}
|
||||
}
|
||||
delete[] polyobjs;
|
||||
polyobjs = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue