From: havoc Date: Mon, 13 Apr 2009 01:46:43 +0000 (+0000) Subject: yet another check in sv_gameplayfix_slidemoveprojectiles X-Git-Tag: xonotic-v0.1.0preview~1693 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=49a0d411fae28787e20dc45a4906722a5e51b7bc;p=xonotic%2Fdarkplaces.git yet another check in sv_gameplayfix_slidemoveprojectiles git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8918 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/sv_phys.c b/sv_phys.c index 6de48267..6a6dda8c 100644 --- 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; }