From: Mario Date: Mon, 16 Mar 2015 21:56:10 +0000 (+1100) Subject: Comment out a hack which removes nades when they touch clips X-Git-Tag: xonotic-v0.8.1~97^2~2 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=89c81c8f9a809d0697ed75e1411fcf682bb2a6b2 Comment out a hack which removes nades when they touch clips --- diff --git a/qcsrc/server/mutators/mutator_nades.qc b/qcsrc/server/mutators/mutator_nades.qc index 321d0f8e6e..60b2acce56 100644 --- a/qcsrc/server/mutators/mutator_nades.qc +++ b/qcsrc/server/mutators/mutator_nades.qc @@ -551,12 +551,12 @@ void nade_boom() void nade_touch() { - float is_weapclip = 0; + /*float is_weapclip = 0; if(trace_dphitq3surfaceflags & Q3SURFACEFLAG_NODRAW) if (!(trace_dphitq3surfaceflags & Q3SURFACEFLAG_NONSOLID)) if (!(trace_dphitcontents & DPCONTENTS_OPAQUE)) - is_weapclip = 1; - if(ITEM_TOUCH_NEEDKILL() || is_weapclip) + is_weapclip = 1;*/ + if(ITEM_TOUCH_NEEDKILL()) // || is_weapclip) { remove(self); return;