X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fclient%2Fdamage.qc;h=fb80a52a0eb22a5c85fee6cf5cf81ef8d1cd0910;hp=e9d88bd0ffca38049ada6a4ae2719dfba03c5ff6;hb=ae2c1407ec9a05e4f501a6604a7cce8e1030df9f;hpb=ad415a3b4e5ec559b143c81080dd705875533449 diff --git a/qcsrc/client/damage.qc b/qcsrc/client/damage.qc index e9d88bd0ff..fb80a52a0e 100644 --- a/qcsrc/client/damage.qc +++ b/qcsrc/client/damage.qc @@ -357,7 +357,7 @@ void Ent_DamageInfo(float isNew) w_random = prandom(); traceline(w_org - normalize(force) * 16, w_org + normalize(force) * 16, MOVE_NOMONSTERS, world); - if(trace_fraction < 1 && hitwep != WEP_VORTEX && hitwep != WEP_VAPORIZER) + if(trace_fraction < 1 && hitwep != WEP_VORTEX.m_id && hitwep != WEP_VAPORIZER.m_id) w_backoff = trace_plane_normal; else w_backoff = -1 * normalize(force);