setsize -> shrink
setsizenodelete -> setsize deletecontentsa -> deletearrays deletecontentsp -> deletecontents vrealloc -> growbuf git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4787 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -256,7 +256,7 @@ void adddynlight(physent *owner, const vec &o, int reach, int expire, int fade,
|
||||
void cleardynlights()
|
||||
{
|
||||
loopv(dlights) freeblock(dlights[i].area);
|
||||
dlights.setsize(0);
|
||||
dlights.shrink(0);
|
||||
}
|
||||
|
||||
void removedynlights(physent *owner)
|
||||
|
||||
Reference in New Issue
Block a user