mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-16 17:01:53 +00:00
don't link in a MOVETYPE_NONE edict that has freed itself via its think
function.
This commit is contained in:
parent
860e3ebb1d
commit
8e31211266
2 changed files with 4 additions and 4 deletions
|
@ -562,8 +562,8 @@ void
|
|||
SV_Physics_None (edict_t *ent)
|
||||
{
|
||||
// regular thinking
|
||||
SV_RunThink (ent);
|
||||
SV_LinkEdict (ent, false);
|
||||
if (SV_RunThink (ent))
|
||||
SV_LinkEdict (ent, false);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -566,8 +566,8 @@ void
|
|||
SV_Physics_None (edict_t *ent)
|
||||
{
|
||||
// regular thinking
|
||||
SV_RunThink (ent);
|
||||
SV_LinkEdict (ent, false);
|
||||
if (SV_RunThink (ent))
|
||||
SV_LinkEdict (ent, false);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue