View Single Post
Re: SWDS.dll Crashes.
Old
  (#2)
Cheeseh
[rcbot]
 
Cheeseh's Avatar
 
Status: Offline
Posts: 361
Join Date: Dec 2003
Location: China
Default Re: SWDS.dll Crashes. - 18-08-2004

Im guessing that the engine is crashing because you are freeing the entities and the engines list of entities still has these dangling pointers to the entities that you freed.

Instead of "freeing" them, use pfnRemoveEntity in engine functions. (Thats same as REMOVE_ENTITY(edict_t*) ). That will allow the engine to do what it needs to ensure the edict you removed is not valid anymore.


Last edited by Cheeseh; 19-08-2004 at 00:01..
  
Reply With Quote