mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-28 18:35:42 +00:00
Fix build on clang
This commit is contained in:
parent
6f3f581d8a
commit
e3571510ae
1 changed files with 1 additions and 1 deletions
|
@ -2135,7 +2135,7 @@ CVehicle::HeliDustGenerate(CEntity *heli, float radius, float ground, int rnd)
|
||||||
r = clamp(red, 0.0f, 255.0f);
|
r = clamp(red, 0.0f, 255.0f);
|
||||||
g = clamp(green, 0.0f, 255.0f);
|
g = clamp(green, 0.0f, 255.0f);
|
||||||
b = clamp(blue, 0.0f, 255.0f);
|
b = clamp(blue, 0.0f, 255.0f);
|
||||||
RwRGBA col1 = { r, g, b, CGeneral::GetRandomNumberInRange(8, 32) };
|
RwRGBA col1 = { r, g, b, (RwUInt8)CGeneral::GetRandomNumberInRange(8, 32) };
|
||||||
RwRGBA col2 = { 255, 255, 255, 32 };
|
RwRGBA col2 = { 255, 255, 255, 32 };
|
||||||
|
|
||||||
if(n&1)
|
if(n&1)
|
||||||
|
|
Loading…
Reference in a new issue