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:
parent
6df21ba2b5
commit
8d7f132afc
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue