mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-22 20:01:11 +00:00
VITA/NX: Allow disabling of crosshair
This commit is contained in:
parent
2ecd4c5e04
commit
6fff93bd6a
1 changed files with 4 additions and 1 deletions
|
@ -1538,7 +1538,7 @@ Draw_Crosshair
|
||||||
extern qboolean paused_hack;
|
extern qboolean paused_hack;
|
||||||
void SCR_DrawCrosshair (void)
|
void SCR_DrawCrosshair (void)
|
||||||
{
|
{
|
||||||
if (cl.stats[STAT_HEALTH] < 20 || paused_hack == true || m_state == m_exit) {
|
if (paused_hack == true || m_state == m_exit) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1547,6 +1547,9 @@ void SCR_DrawCrosshair (void)
|
||||||
Draw_FillByColor(0, vid.height/2, vid.width, 1, 0, 255, 0, 255);
|
Draw_FillByColor(0, vid.height/2, vid.width, 1, 0, 255, 0, 255);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!crosshair.value)
|
||||||
|
return;
|
||||||
|
|
||||||
float col;
|
float col;
|
||||||
|
|
||||||
if (sv_player->v.facingenemy == 1) {
|
if (sv_player->v.facingenemy == 1) {
|
||||||
|
|
Loading…
Reference in a new issue