From 3468dc3863192ba88463c4b820c036369d1d49a1 Mon Sep 17 00:00:00 2001 From: Martin Taibr Date: Wed, 28 Nov 2018 16:06:34 +0100 Subject: [PATCH] might as well document this for future generations --- qcsrc/server/weapons/tracing.qc | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2