Skip to content

Commit

Permalink
fix(extra-natives/five): fix crosshair bottom line drawn incorrectly
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnDeved committed Aug 20, 2024
1 parent 3b7188c commit 00708c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/components/extra-natives-five/src/DrawImNatives.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3482,7 +3482,7 @@ static void DoCrosshairDraw()
int iOuterBottom = iInnerBottom + iBarSizeInner;
int x0 = iCenterX - iBarThickness / 2;
int x1 = x0 + iBarThickness;
DrawCrosshairRect(r, g, b, flLineAlphaInner, x0, iCenterY, x1, iOuterBottom, bAdditive);
DrawCrosshairRect(r, g, b, flLineAlphaInner, x0, iInnerBottom, x1, iOuterBottom, bAdditive);

// draw top vertical crosshair line if cl_crosshair_t is disabled
if (!cl_crosshair_t.GetValue())
Expand Down

0 comments on commit 00708c7

Please sign in to comment.