Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit c164b98

Browse files
committed
Use similar glow strength for aim dots regardless of aim progress
1 parent 45e4f5d commit c164b98

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Entities/HDFirearm.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,14 +1172,12 @@ void HDFirearm::DrawHUD(BITMAP *pTargetBitmap, const Vector &targetPos, int whic
11721172
}
11731173

11741174
float sharpLength = std::max(m_MaxSharpLength * m_SharpAim, 20.0F);
1175-
int glowStrength;
1175+
int glowStrength = RandomNum(95, 159);
11761176
int pointCount;
11771177
if (playerControlled && sharpLength > 20.0F) {
11781178
pointCount = m_SharpAim > 0.5F ? 4 : 3;
1179-
glowStrength = RandomNum(127, 255);
11801179
} else {
11811180
pointCount = 2;
1182-
glowStrength = RandomNum(63, 127);
11831181
}
11841182
int pointSpacing = 10 - pointCount;
11851183
sharpLength -= static_cast<float>(pointSpacing * pointCount) * 0.5F;

0 commit comments

Comments
 (0)