From: Martin Taibr Date: Wed, 28 Nov 2018 15:06:34 +0000 (+0100) Subject: might as well document this for future generations X-Git-Tag: xonotic-v0.8.5~1710 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3468dc3863192ba88463c4b820c036369d1d49a1;p=xonotic%2Fxonotic-data.pk3dir.git might as well document this for future generations --- diff --git a/qcsrc/server/weapons/tracing.qc b/qcsrc/server/weapons/tracing.qc index 18895979f..dfa138972 100644 --- a/qcsrc/server/weapons/tracing.qc +++ b/qcsrc/server/weapons/tracing.qc @@ -74,6 +74,8 @@ void W_SetupShot_Dir_ProjectileSize_Range(entity ent, .entity weaponentity, vect vector md = ent.(weaponentity).movedir; vector vecs = ((md.x > 0) ? md : '0 0 0'); + // TODO this is broken - see 637056bea7bf7f5c9c0fc6113e94731a2767476 for an attempted fix + // which fixes issue #1957 but causes #2129 vector dv = v_right * -vecs.y + v_up * vecs.z; w_shotorg = ent.origin + ent.view_ofs + dv;