]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - chase.c
pmodel fixes (now works properly in listen/singleplayer)
[xonotic/darkplaces.git] / chase.c
diff --git a/chase.c b/chase.c
index 1831a98caca4df5f0c1594a4bfa7e531375e9f3e..f89a5d66f7bdfd9c0ff30a68819a5ef34fb21628 100644 (file)
--- a/chase.c
+++ b/chase.c
@@ -42,19 +42,15 @@ qboolean SV_RecursiveHullCheck (hull_t *hull, int num, float p1f, float p2f, vec
 
 void TraceLine (vec3_t start, vec3_t end, vec3_t impact)
 {
+       /*
        trace_t trace;
 
        memset (&trace, 0, sizeof(trace));
        SV_RecursiveHullCheck (cl.worldmodel->hulls, 0, 0, 1, start, end, &trace);
 
-       if (trace.fraction < 1)
-       {
-               VectorCopy (trace.endpos, impact);
-       }
-       else
-       {
-               VectorCopy (end, impact);
-       }
+       VectorCopy (trace.endpos, impact);
+       */
+       VectorCopy (end, impact);
 }
 
 void Chase_Update (void)