From 4d276db7b6a2129bfd89bf191fcdd6a746e07e6a Mon Sep 17 00:00:00 2001 From: WPMGPRoSToTeMa Date: Sun, 8 Nov 2015 03:03:00 +0300 Subject: [PATCH] Fixed typo in SV_RunThink --- rehlds/engine/sv_phys.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rehlds/engine/sv_phys.cpp b/rehlds/engine/sv_phys.cpp index 9df76d4..d5fa7c4 100644 --- a/rehlds/engine/sv_phys.cpp +++ b/rehlds/engine/sv_phys.cpp @@ -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); }