diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-29 01:32:21 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-01-29 17:23:02 +0100 |
commit | d52b917c549719addf45788413210ea1700cd0d5 (patch) | |
tree | fde2b07530985399054640435b638d00bbb4f10c /src/peds | |
parent | Update build-cmake-conan.yml (diff) | |
download | re3-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')
-rw-r--r-- | src/peds/Ped.cpp | 2 |
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; |