]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
yet another check in sv_gameplayfix_slidemoveprojectiles
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 13 Apr 2009 01:46:43 +0000 (01:46 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 13 Apr 2009 01:46:43 +0000 (01:46 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8918 d7cf8633-e32d-0410-b094-e92efae38249

sv_phys.c

index 6de482673ece7bb62ad654f8c108ec72c450639b..6a6dda8c68383f6e84c4159f86ab708f39ec65de 100644 (file)
--- a/sv_phys.c
+++ b/sv_phys.c
@@ -2008,7 +2008,7 @@ void SV_Physics_Toss (prvm_edict_t *ent)
                        else
                                ent->fields.server->flags = (int)ent->fields.server->flags & ~FL_ONGROUND;
                }
-               if (!sv_gameplayfix_slidemoveprojectiles.integer || (ent->fields.server->movetype != MOVETYPE_BOUNCE && ent->fields.server->movetype == MOVETYPE_BOUNCEMISSILE))
+               if (!sv_gameplayfix_slidemoveprojectiles.integer || (ent->fields.server->movetype != MOVETYPE_BOUNCE && ent->fields.server->movetype == MOVETYPE_BOUNCEMISSILE) || ((int)ent->fields.server->flags & FL_ONGROUND))
                        break;
        }