Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Fix build on clang
  • Loading branch information
Filip Gawin committed Oct 5, 2020
1 parent 6f3f581 commit e3571510aec069ec979dd01442ce985f910bfaca
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/vehicles/Vehicle.cpp
@@ -2135,7 +2135,7 @@ CVehicle::HeliDustGenerate(CEntity *heli, float radius, float ground, int rnd)
r = clamp(red, 0.0f, 255.0f);
g = clamp(green, 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 };

if(n&1)

0 comments on commit e357151

Please sign in to comment.