mirror of
https://github.com/rehlds/rehlds.git
synced 2025-01-04 02:55:50 +03:00
Fixed typo in SV_RunThink
This commit is contained in:
parent
9e1f9c63ef
commit
4d276db7b6
@ -125,7 +125,7 @@ qboolean SV_RunThink(edict_t *ent)
|
|||||||
{
|
{
|
||||||
float thinktime;
|
float thinktime;
|
||||||
|
|
||||||
if (!(ent->v.flags & FL_SPECTATOR))
|
if (!(ent->v.flags & FL_KILLME))
|
||||||
{
|
{
|
||||||
thinktime = ent->v.nextthink;
|
thinktime = ent->v.nextthink;
|
||||||
if (thinktime <= 0.0 || thinktime > g_psv.time + host_frametime)
|
if (thinktime <= 0.0 || thinktime > g_psv.time + host_frametime)
|
||||||
@ -143,7 +143,7 @@ qboolean SV_RunThink(edict_t *ent)
|
|||||||
gEntityInterface.pfnThink(ent);
|
gEntityInterface.pfnThink(ent);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ent->v.flags & FL_SPECTATOR)
|
if (ent->v.flags & FL_KILLME)
|
||||||
{
|
{
|
||||||
ED_Free(ent);
|
ED_Free(ent);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user