From: Mario Date: Thu, 13 Nov 2014 15:50:48 +0000 (+1100) Subject: Attempt to prevent nades from entering clips X-Git-Tag: xonotic-v0.8.0~162^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=346c16339e21885a7eab934698057b72b297c1cc;p=xonotic%2Fxonotic-data.pk3dir.git Attempt to prevent nades from entering clips --- diff --git a/qcsrc/server/mutators/mutator_nades.qc b/qcsrc/server/mutators/mutator_nades.qc index b84785033..06f91468f 100644 --- a/qcsrc/server/mutators/mutator_nades.qc +++ b/qcsrc/server/mutators/mutator_nades.qc @@ -662,6 +662,7 @@ void toss_nade(entity e, vector _velocity, float _time) _nade.event_damage = nade_damage; _nade.customizeentityforclient = func_null; _nade.exteriormodeltoclient = world; + _nade.dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_PLAYERCLIP | DPCONTENTS_BOTCLIP; _nade.traileffectnum = 0; _nade.teleportable = TRUE; _nade.pushable = TRUE;