summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-07-22 23:31:06 +0200
committereray orçunus <erayorcunus@gmail.com>2020-07-22 23:31:06 +0200
commit7e32c603fc0f9a7ec0f3fc1ab224b3b20c769eaf (patch)
tree9126974a1c8bfa8ac8f9f3879fb63edfe7320238 /src/peds/Ped.cpp
parentMerge pull request #659 from erorcun/master (diff)
downloadre3-7e32c603fc0f9a7ec0f3fc1ab224b3b20c769eaf.tar
re3-7e32c603fc0f9a7ec0f3fc1ab224b3b20c769eaf.tar.gz
re3-7e32c603fc0f9a7ec0f3fc1ab224b3b20c769eaf.tar.bz2
re3-7e32c603fc0f9a7ec0f3fc1ab224b3b20c769eaf.tar.lz
re3-7e32c603fc0f9a7ec0f3fc1ab224b3b20c769eaf.tar.xz
re3-7e32c603fc0f9a7ec0f3fc1ab224b3b20c769eaf.tar.zst
re3-7e32c603fc0f9a7ec0f3fc1ab224b3b20c769eaf.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 4d83f5aa..f52b373e 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -9349,7 +9349,7 @@ CPed::ProcessControl(void)
m_collidingEntityWhileFleeing = collidingEnt;
m_collidingEntityWhileFleeing->RegisterReference((CEntity **) &m_collidingEntityWhileFleeing);
- uint8 currentDir = floorf((PI + m_fRotationCur) / DEGTORAD(45.0f));
+ uint8 currentDir = Floor((PI + m_fRotationCur) / DEGTORAD(45.0f));
uint8 nextDir;
ThePaths.FindNextNodeWandering(PATH_PED, GetPosition(), &m_pLastPathNode, &m_pNextPathNode, currentDir, &nextDir);