]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
now supports nextthink < 0 again... sigh
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 17 Jan 2005 22:11:16 +0000 (22:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 17 Jan 2005 22:11:16 +0000 (22:11 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4940 d7cf8633-e32d-0410-b094-e92efae38249

sv_phys.c

index 6145c080e597bda0fee4638670368b64237a0823..9f7a0adca90e597a0c878883f759ccbdb5b77509 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -1450,7 +1450,7 @@ void SV_Physics (void)
                case MOVETYPE_FLY:
                case MOVETYPE_FLYMISSILE:
                        // LordHavoc: manually inlined SV_RunThink here
-                       if (ent->v->nextthink && ent->v->nextthink <= nexttime)
+                       if (ent->v->nextthink > 0 && ent->v->nextthink <= nexttime)
                        {
                                /*
                                SV_RunThink