projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ec9828
)
Comment out a hack which removes nades when they touch clips
author
Mario <zacjardine@y7mail.com>
Mon, 16 Mar 2015 21:56:10 +0000
(08:56 +1100)
committer
Mario <zacjardine@y7mail.com>
Mon, 16 Mar 2015 21:56:10 +0000
(08:56 +1100)
qcsrc/server/mutators/mutator_nades.qc
patch
|
blob
|
history
diff --git
a/qcsrc/server/mutators/mutator_nades.qc
b/qcsrc/server/mutators/mutator_nades.qc
index 321d0f8e6e5e6b587e99d9777b3df3f908cd5c85..60b2acce56053ea2b1d2ab295b393c99737a0df6 100644
(file)
--- 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;