X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=cl_input.c;h=a6f447610c8ba75e47ae954f24bd41a25dc364da;hb=10523a94c80615aeccfa84c81bbffe11335ca4a7;hp=358cb33d9e700fe297015bc509706d5e9d6d1705;hpb=5c77268d0a473dfcf784d69343a3ddabcbd5ab33;p=xonotic%2Fdarkplaces.git diff --git a/cl_input.c b/cl_input.c index 358cb33d..a6f44761 100644 --- a/cl_input.c +++ b/cl_input.c @@ -556,7 +556,7 @@ void CL_UpdatePrydonCursor(void) VectorSet(temp, cl.cmd.cursor_screen[2] * 1000000, cl.cmd.cursor_screen[0] * -r_view.frustum_x * 1000000, cl.cmd.cursor_screen[1] * -r_view.frustum_y * 1000000); Matrix4x4_Transform(&r_view.matrix, temp, cl.cmd.cursor_end); // trace from view origin to the cursor - 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, false); + 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); } void CL_ClientMovement_InputQW(qw_usercmd_t *cmd)