]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - chase.c
rewrote memory system entirely (hunk, cache, and zone are gone, memory pools replaced...
[xonotic/darkplaces.git] / chase.c
diff --git a/chase.c b/chase.c
index f4ee5b9611c5c2d6230969cf0670bcea873c0278..1b6e78ed2bb57337b5d653ed31938fcc49d33597 100644 (file)
--- a/chase.c
+++ b/chase.c
@@ -44,6 +44,11 @@ float TraceLine (vec3_t start, vec3_t end, vec3_t impact, vec3_t normal, int con
 {
        trace_t trace;
 
+// FIXME: broken, fix it
+//     if (impact == NULL && normal == NULL && contents == 0)
+//             return SV_TestLine (cl.worldmodel->hulls, 0, start, end);
+
+       Mod_CheckLoaded(cl.worldmodel);
        memset (&trace, 0, sizeof(trace));
        VectorCopy (end, trace.endpos);
        trace.fraction = 1;