]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_input.c
added Venim's dpmaster server (now up to 3 masters)
[xonotic/darkplaces.git] / cl_input.c
index 5f92b54c7a8248faffe16eee3ed9683982febcd8..db36a23d997ee09b222a49a04421b8ec8c1f2c02 100644 (file)
@@ -398,7 +398,7 @@ void CL_UpdatePrydonCursor(void)
        VectorCopy(r_vieworigin, cl.cmd.cursor_start);
        VectorSet(temp, cl.cmd.cursor_screen[2] * scale[2], cl.cmd.cursor_screen[0] * scale[0], cl.cmd.cursor_screen[1] * scale[1]);
        Matrix4x4_Transform(&r_view_matrix, temp, cl.cmd.cursor_end);
-       cl.cmd.cursor_fraction = CL_SelectTraceLine(cl.cmd.cursor_start, cl.cmd.cursor_end, cl.cmd.cursor_impact, cl.cmd.cursor_normal, &cl.cmd.cursor_entitynumber);
+       cl.cmd.cursor_fraction = CL_SelectTraceLine(cl.cmd.cursor_start, cl.cmd.cursor_end, cl.cmd.cursor_impact, cl.cmd.cursor_normal, &cl.cmd.cursor_entitynumber, (chase_active.integer || cl.intermission) ? &cl_entities[cl.playerentity].render : NULL);
        // makes sparks where cursor is
        //CL_SparkShower(cl.cmd.cursor_impact, cl.cmd.cursor_normal, 5, 0);
 }