diff options
author | withmorten <morten.with@gmail.com> | 2021-06-28 13:57:05 +0200 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-06-28 13:57:05 +0200 |
commit | d17d437de319ca4c388dc724cffea91702d3a699 (patch) | |
tree | 806104fa5fe0e994cd7f55f1b7b48dc64a998c44 /src/peds/Population.cpp | |
parent | Redo ReadSaveBuf + common.h cleanup (diff) | |
download | re3-d17d437de319ca4c388dc724cffea91702d3a699.tar re3-d17d437de319ca4c388dc724cffea91702d3a699.tar.gz re3-d17d437de319ca4c388dc724cffea91702d3a699.tar.bz2 re3-d17d437de319ca4c388dc724cffea91702d3a699.tar.lz re3-d17d437de319ca4c388dc724cffea91702d3a699.tar.xz re3-d17d437de319ca4c388dc724cffea91702d3a699.tar.zst re3-d17d437de319ca4c388dc724cffea91702d3a699.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Population.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peds/Population.cpp b/src/peds/Population.cpp index 6a41b0c1..384cef99 100644 --- a/src/peds/Population.cpp +++ b/src/peds/Population.cpp @@ -413,7 +413,7 @@ CPopulation::PedCreationDistMultiplier() return 1.0f; float vehSpeed = veh->m_vecMoveSpeed.Magnitude2D(); - return clamp(vehSpeed - 0.1f + 1.0f, 1.0f, 1.5f); + return Clamp(vehSpeed - 0.1f + 1.0f, 1.0f, 1.5f); } CPed* |