diff --git a/nq/source/sv_phys.c b/nq/source/sv_phys.c index f6a9e219f..b42561c35 100644 --- a/nq/source/sv_phys.c +++ b/nq/source/sv_phys.c @@ -141,7 +141,7 @@ SV_RunThink (edict_t *ent) if (ent->free) return false; - } while (1); + } while (SVfloat (ent, nextthink) >= sv.time); return true; } diff --git a/qw/source/sv_phys.c b/qw/source/sv_phys.c index f6a9e219f..b42561c35 100644 --- a/qw/source/sv_phys.c +++ b/qw/source/sv_phys.c @@ -141,7 +141,7 @@ SV_RunThink (edict_t *ent) if (ent->free) return false; - } while (1); + } while (SVfloat (ent, nextthink) >= sv.time); return true; }