This commit is contained in:
Filip Gawin
2019-08-27 20:50:59 +02:00
parent 2fabbc3b4c
commit 01ac2929cd
35 changed files with 1558 additions and 1090 deletions

View File

@@ -29,7 +29,7 @@ CPedPlacement::FindZCoorForPed(CVector* pos)
if (CWorld::ProcessVerticalLine(vec, startZ, foundCol, foundEnt, true, false, false, false, true, false, nil))
foundColZ2 = foundCol.point.z;
zForPed = Max(foundColZ, foundColZ2);
zForPed = max(foundColZ, foundColZ2);
if (zForPed > -99.0f)
pos->z = 1.04f + zForPed;