mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Fix crosshair color.
git-svn-id: https://svn.eduke32.com/eduke32@4354 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f346e46ed8
commit
605c4dbc21
1 changed files with 1 additions and 1 deletions
|
@ -3309,7 +3309,7 @@ void G_SetCrosshairColor(int32_t r, int32_t g, int32_t b)
|
||||||
ii = tilesizx[CROSSHAIR]*tilesizy[CROSSHAIR];
|
ii = tilesizx[CROSSHAIR]*tilesizy[CROSSHAIR];
|
||||||
if (ii <= 0) return;
|
if (ii <= 0) return;
|
||||||
|
|
||||||
if (getrendermode() != REND_CLASSIC)
|
if (getrendermode() == REND_CLASSIC)
|
||||||
i = getclosestcol(CrosshairColors.r>>2, CrosshairColors.g>>2, CrosshairColors.b>>2);
|
i = getclosestcol(CrosshairColors.r>>2, CrosshairColors.g>>2, CrosshairColors.b>>2);
|
||||||
else i = getclosestcol(63, 63, 63); // use white in GL so we can tint it to the right color
|
else i = getclosestcol(63, 63, 63); // use white in GL so we can tint it to the right color
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue