freeing free ents is now more user friendly.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@401 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-11-08 11:45:14 +00:00
parent 6df21ba2b5
commit 8d7f132afc

View file

@ -161,7 +161,10 @@ void ED_Free (progfuncs_t *progfuncs, struct edict_s *ed)
if (e->isfree) //this happens on start.bsp where an onlyregistered trigger killtargets itself (when all of this sort die after 1 trigger anyway). if (e->isfree) //this happens on start.bsp where an onlyregistered trigger killtargets itself (when all of this sort die after 1 trigger anyway).
{ {
printf("Tried to free free entity\n"); if (pr_depth)
printf("Tried to free free entity within %s\n", pr_xfunction->s_name);
else
printf("Engine tried to free free entity\n");
// if (developer.value == 1) // if (developer.value == 1)
// pr_trace = true; // pr_trace = true;
return; return;