summaryrefslogtreecommitdiff
path: root/src/core/Radar.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-10-18 17:30:51 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-10-18 17:30:51 +0300
commitd7789661cda9c07988834aa9c6c53d5cee888612 (patch)
treeb17c3aa13c73ea0f21d645962dccea83486d9dc7 /src/core/Radar.cpp
parent8d92a0681ac6a55ccec3927eb29c3ccf665d62a9 (diff)
parent0d20f1c364e23ff68c26b77632f0fb80c0e54799 (diff)
Merge remote-tracking branch 'upstream/miami' into miami
Diffstat (limited to 'src/core/Radar.cpp')
-rw-r--r--src/core/Radar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp
index 3ddf8337..8fe900ae 100644
--- a/src/core/Radar.cpp
+++ b/src/core/Radar.cpp
@@ -272,7 +272,7 @@ uint8 CRadar::CalculateBlipAlpha(float dist)
return 255;
if (dist <= 10.0f)
- return (128.0f * ((dist - 1.0f) / 4.0f)) + ((1.0f - (dist - 1.0f) / 4.0f) * 255.0f);
+ return (128.0f * ((dist - 1.0f) / 9.0f)) + ((1.0f - (dist - 1.0f) / 9.0f) * 255.0f);
return 128;
}