]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/warpzonelib/common.qc
new physics config by Lee Stricklin; fix electro beam through warpzones when standing...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / warpzonelib / common.qc
index 9eb74988610b468e6db59e1fa01947dede0bb62a..8536bd3d2c464bf575b32356ce60599432cd6190 100644 (file)
@@ -233,7 +233,7 @@ void WarpZone_TraceBox_ThroughZone(vector org, vector mi, vector ma, vector end,
                        goto fail;
                }
                WarpZone_Trace_AddTransform(wz);
-               org = WarpZone_TransformOrigin(wz, trace_endpos);
+               org = WarpZone_TransformOrigin(wz, org);
                end = WarpZone_TransformOrigin(wz, end);
        }
        WarpZone_MakeAllSolid();