]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sv_phys.c
yet another check in sv_gameplayfix_slidemoveprojectiles
[xonotic/darkplaces.git] / 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;
        }