summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-29 01:32:21 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-29 17:23:02 +0100
commitd52b917c549719addf45788413210ea1700cd0d5 (patch)
treefde2b07530985399054640435b638d00bbb4f10c /src/peds/Ped.cpp
parentUpdate build-cmake-conan.yml (diff)
downloadre3-d52b917c549719addf45788413210ea1700cd0d5.tar
re3-d52b917c549719addf45788413210ea1700cd0d5.tar.gz
re3-d52b917c549719addf45788413210ea1700cd0d5.tar.bz2
re3-d52b917c549719addf45788413210ea1700cd0d5.tar.lz
re3-d52b917c549719addf45788413210ea1700cd0d5.tar.xz
re3-d52b917c549719addf45788413210ea1700cd0d5.tar.zst
re3-d52b917c549719addf45788413210ea1700cd0d5.zip
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r--src/peds/Ped.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index a9529d2d..87e77ef3 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -1545,7 +1545,7 @@ CPed::ProcessBuoyancy(void)
CRGBA color(((0.5f * CTimeCycle::GetDirectionalRed() + CTimeCycle::GetAmbientRed()) * 127.5f),
((0.5f * CTimeCycle::GetDirectionalBlue() + CTimeCycle::GetAmbientBlue()) * 127.5f),
((0.5f * CTimeCycle::GetDirectionalGreen() + CTimeCycle::GetAmbientGreen()) * 127.5f),
- (CGeneral::GetRandomNumber() % 256 * 48.0f) + 48);
+ CGeneral::GetRandomNumberInRange(48.0f, 96.0f));
if (bInVehicle)
return;