summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-22 17:47:14 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-22 17:47:14 +0100
commit861506d048b7c4370f066e62233448979824bd68 (patch)
treecaa435843c73aab13174a3b63bfb6dd759a9df73 /src/entities
parentmissing endlines (diff)
parentRemove all constexpr (diff)
downloadre3-861506d048b7c4370f066e62233448979824bd68.tar
re3-861506d048b7c4370f066e62233448979824bd68.tar.gz
re3-861506d048b7c4370f066e62233448979824bd68.tar.bz2
re3-861506d048b7c4370f066e62233448979824bd68.tar.lz
re3-861506d048b7c4370f066e62233448979824bd68.tar.xz
re3-861506d048b7c4370f066e62233448979824bd68.tar.zst
re3-861506d048b7c4370f066e62233448979824bd68.zip
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/Physical.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp
index fef5ec7f..faa8a484 100644
--- a/src/entities/Physical.cpp
+++ b/src/entities/Physical.cpp
@@ -1831,7 +1831,7 @@ CPhysical::ProcessCollision(void)
if(IsPed() && (distSq >= sq(0.2f) || ped->IsPlayer())){
if(ped->IsPlayer())
- n = max(NUMSTEPS(0.2f), 2.0);
+ n = max(NUMSTEPS(0.2f), 2.0f);
else
n = NUMSTEPS(0.3f);
step = savedTimeStep / n;