mirror of
https://github.com/nzp-team/glquake.git
synced 2025-02-16 17:00:57 +00:00
Add offset for sniper scope
Fixes dumb issue with it not being centered
This commit is contained in:
parent
3f8c75dd59
commit
f9847970e5
1 changed files with 1 additions and 1 deletions
|
@ -1166,7 +1166,7 @@ void Draw_Crosshair (void)
|
|||
else if (crosshair.value && cl.stats[STAT_ZOOM] != 1 && cl.stats[STAT_ZOOM] != 2)
|
||||
Draw_CharacterRGBA((vid.width - 8)/2, (vid.height - 8)/2, '.', 255, col, col, crosshair_opacity, 1);
|
||||
if (cl.stats[STAT_ZOOM] == 2)
|
||||
Draw_Pic (0, 0, sniper_scope);
|
||||
Draw_Pic (-39, -15, sniper_scope);
|
||||
if (Hitmark_Time > sv.time)
|
||||
Draw_Pic ((vid.width - hitmark->width)/2,(vid.height - hitmark->height)/2, hitmark);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue