diff options
author | majestic <majesticcoding@gmail.com> | 2020-10-05 22:14:49 +0200 |
---|---|---|
committer | majestic <majesticcoding@gmail.com> | 2020-10-05 22:14:49 +0200 |
commit | 6556dc1fdf24b0bedee9a3daf944537638b98c3c (patch) | |
tree | 3762241e9591f0b78486220255797f74bb9a5819 /src | |
parent | Merge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff) | |
parent | Fix build on clang (diff) | |
download | re3-6556dc1fdf24b0bedee9a3daf944537638b98c3c.tar re3-6556dc1fdf24b0bedee9a3daf944537638b98c3c.tar.gz re3-6556dc1fdf24b0bedee9a3daf944537638b98c3c.tar.bz2 re3-6556dc1fdf24b0bedee9a3daf944537638b98c3c.tar.lz re3-6556dc1fdf24b0bedee9a3daf944537638b98c3c.tar.xz re3-6556dc1fdf24b0bedee9a3daf944537638b98c3c.tar.zst re3-6556dc1fdf24b0bedee9a3daf944537638b98c3c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp index 2e790e81..79e27c00 100644 --- a/src/vehicles/Vehicle.cpp +++ b/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) |