mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-08 23:10:35 +00:00
New math wrappers
from miami
This commit is contained in:
parent
98dd771d6c
commit
7e32c603fc
5 changed files with 11 additions and 9 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue