]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
might as well document this for future generations
authorMartin Taibr <taibr.martin@gmail.com>
Wed, 28 Nov 2018 15:06:34 +0000 (16:06 +0100)
committerMartin Taibr <taibr.martin@gmail.com>
Wed, 28 Nov 2018 15:06:34 +0000 (16:06 +0100)
qcsrc/server/weapons/tracing.qc

index 18895979f0ed554d8999a7dde1fa32780ea19853..dfa1389721aa456db09d41381b607e5688bbc584 100644 (file)
@@ -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;