mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
fix the missing crosshair
This commit is contained in:
parent
28601c8ea4
commit
018a0b3bb6
3 changed files with 6 additions and 6 deletions
|
@ -584,8 +584,8 @@ Draw_Crosshair (void)
|
|||
if ((unsigned) ch >= sizeof (crosshair_func) / sizeof (crosshair_func[0]))
|
||||
return;
|
||||
|
||||
x = scr_vrect.x + scr_vrect.width / 2 + cl_crossx->int_val;
|
||||
y = scr_vrect.y + scr_vrect.height / 2 + cl_crossy->int_val;
|
||||
x = vid.conwidth / 2 + cl_crossx->int_val;
|
||||
y = vid.conheight / 2 + cl_crossy->int_val;
|
||||
|
||||
crosshair_func[ch] (x, y);
|
||||
}
|
||||
|
|
|
@ -337,8 +337,8 @@ Draw_Crosshair (void)
|
|||
if ((unsigned) ch >= sizeof (crosshair_func) / sizeof (crosshair_func[0]))
|
||||
return;
|
||||
|
||||
x = scr_vrect.x + scr_vrect.width / 2 + cl_crossx->int_val;
|
||||
y = scr_vrect.y + scr_vrect.height / 2 + cl_crossy->int_val;
|
||||
x = vid.conwidth / 2 + cl_crossx->int_val;
|
||||
y = vid.conheight / 2 + cl_crossy->int_val;
|
||||
|
||||
crosshair_func[ch] (x, y);
|
||||
}
|
||||
|
|
|
@ -411,8 +411,8 @@ Draw_Crosshair (void)
|
|||
if ((unsigned) ch >= sizeof (crosshair_func) / sizeof (crosshair_func[0]))
|
||||
return;
|
||||
|
||||
x = scr_vrect.x + scr_vrect.width / 2 + cl_crossx->int_val;
|
||||
y = scr_vrect.y + scr_vrect.height / 2 + cl_crossy->int_val;
|
||||
x = vid.conwidth / 2 + cl_crossx->int_val;
|
||||
y = vid.conheight / 2 + cl_crossy->int_val;
|
||||
|
||||
crosshair_func[ch] (x, y);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue