]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Comment out a hack which removes nades when they touch clips
authorMario <zacjardine@y7mail.com>
Mon, 16 Mar 2015 21:56:10 +0000 (08:56 +1100)
committerMario <zacjardine@y7mail.com>
Mon, 16 Mar 2015 21:56:10 +0000 (08:56 +1100)
qcsrc/server/mutators/mutator_nades.qc

index 321d0f8e6e5e6b587e99d9777b3df3f908cd5c85..60b2acce56053ea2b1d2ab295b393c99737a0df6 100644 (file)
@@ -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;