2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-01-17 09:07:54 +03:00

Merge pull request #93 from WPMGPRoSToTeMa/master

Fixed typo in SV_RunThink (#92)
This commit is contained in:
theAsmodai 2015-11-08 15:25:17 +03:00
commit 3be05fce38

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);
}