don't link in a MOVETYPE_NONE edict that has freed itself via its think

function.
This commit is contained in:
Bill Currie 2002-02-25 03:22:32 +00:00
parent 860e3ebb1d
commit 8e31211266
2 changed files with 4 additions and 4 deletions

View file

@ -562,8 +562,8 @@ void
SV_Physics_None (edict_t *ent) SV_Physics_None (edict_t *ent)
{ {
// regular thinking // regular thinking
SV_RunThink (ent); if (SV_RunThink (ent))
SV_LinkEdict (ent, false); SV_LinkEdict (ent, false);
} }
/* /*

View file

@ -566,8 +566,8 @@ void
SV_Physics_None (edict_t *ent) SV_Physics_None (edict_t *ent)
{ {
// regular thinking // regular thinking
SV_RunThink (ent); if (SV_RunThink (ent))
SV_LinkEdict (ent, false); SV_LinkEdict (ent, false);
} }
/* /*