> My first thought was that UTIL_Remove wasn't actually
> clearing stuff out until the next frame so I tried waiting to
> call Map...Entities() but no luck.  I've also tried calling
> SetFree() on every edict that's deleted.
> Does anyone have any insight?


I haven't followed this discussion, but yes, UTIL_Remove is not
immediately freeing the entities.

After you've marked them all for delete by calling UTIL_Remove() you can
call this:
        gEntList.CleanupDeleteList();

which will flush all of the queued deletes.

Jay

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to