pmodel fixes (now works properly in listen/singleplayer)
[xonotic/darkplaces.git] / chase.c
diff --git a/chase.c b/chase.c
index 1831a98..f89a5d6 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)