2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-01 01:25:38 +03:00

Fixed typo in SV_RunThink

This commit is contained in:
WPMGPRoSToTeMa 2015-11-08 03:03:00 +03:00
parent 9e1f9c63ef
commit 4d276db7b6

View File

@ -125,7 +125,7 @@ qboolean SV_RunThink(edict_t *ent)
{
float thinktime;
if (!(ent->v.flags & FL_SPECTATOR))
if (!(ent->v.flags & FL_KILLME))
{
thinktime = ent->v.nextthink;
if (thinktime <= 0.0 || thinktime > g_psv.time + host_frametime)
@ -143,7 +143,7 @@ qboolean SV_RunThink(edict_t *ent)
gEntityInterface.pfnThink(ent);
}
if (ent->v.flags & FL_SPECTATOR)
if (ent->v.flags & FL_KILLME)
{
ED_Free(ent);
}