Add offset for sniper scope

Fixes dumb issue with it not being centered
This commit is contained in:
Ian 2022-11-27 18:25:01 -05:00
parent 3f8c75dd59
commit f9847970e5

View file

@ -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);
}