From: Mario Date: Fri, 20 Feb 2015 03:20:32 +0000 (+1100) Subject: Fix CTF flags getting stuck on slopes instead of sliding down X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=be0d6274d696f5e50d66e56463d047ee13a9de0b;p=xonotic%2Fdarkplaces.git Fix CTF flags getting stuck on slopes instead of sliding down --- diff --git a/sv_phys.c b/sv_phys.c index c84f0c15..b8dd3b73 100644 --- a/sv_phys.c +++ b/sv_phys.c @@ -2716,7 +2716,8 @@ void SV_Physics_Toss (prvm_edict_t *ent) } else PRVM_serveredictfloat(ent, flags) = (int)PRVM_serveredictfloat(ent, flags) & ~FL_ONGROUND; - movetime = 0; + if (!sv_gameplayfix_slidemoveprojectiles.integer) + movetime = 0; break; } }