mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 16:44:08 +00:00
Merge remote-tracking branch 'upstream/miami' into miami
This commit is contained in:
commit
d7789661cd
23 changed files with 198 additions and 158 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue