mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 08:51:08 +00:00
- re-fixed crosshair scale to only use one CVAR for everything.
This commit is contained in:
parent
34dfb6c5fc
commit
36479b623d
5 changed files with 5 additions and 15 deletions
|
@ -1271,7 +1271,7 @@ void DrawCrosshair(int deftile, int health, double xdelta, double ydelta, double
|
|||
auto tile = tileGetTexture(deftile);
|
||||
if (tile)
|
||||
{
|
||||
double crosshair_scale = cl_crosshairscale * .01 * scale;
|
||||
double crosshair_scale = crosshairscale * scale;
|
||||
DrawTexture(twod, tile, 160 + xdelta, 100 + ydelta, DTA_Color, color,
|
||||
DTA_FullscreenScale, FSMode_Fit320x200, DTA_ScaleX, crosshair_scale, DTA_ScaleY, crosshair_scale, DTA_CenterOffsetRel, true,
|
||||
DTA_ViewportX, windowxy1.x, DTA_ViewportY, windowxy1.y, DTA_ViewportWidth, windowxy2.x - windowxy1.x + 1, DTA_ViewportHeight, windowxy2.y - windowxy1.y + 1, TAG_DONE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue