X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fw_shockwave.qc;h=91961bb18dccbd14b9631e73859c6d6937b748cf;hp=592f200b9e5f4934897f60866521a9bee01390ff;hb=8b38ad6987192a2129a7aa55410fd6d729425a28;hpb=6849fbb9ac40a1c49b1f6c58cdcb236dabbf38db diff --git a/qcsrc/common/weapons/w_shockwave.qc b/qcsrc/common/weapons/w_shockwave.qc index 592f200b9e..91961bb18d 100644 --- a/qcsrc/common/weapons/w_shockwave.qc +++ b/qcsrc/common/weapons/w_shockwave.qc @@ -159,7 +159,7 @@ void W_Shockwave_Melee_Think(void) te_customflash(targpos, 40, 2, '1 1 1'); #endif - is_player = (IS_PLAYER(trace_ent) || trace_ent.classname == "body" || (trace_ent.flags & FL_MONSTER)); + is_player = (IS_PLAYER(trace_ent) || trace_ent.classname == "body" || IS_MONSTER(trace_ent)); if((trace_fraction < 1) // if trace is good, apply the damage and remove self if necessary && (trace_ent.takedamage == DAMAGE_AIM)