1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-23 12:50:00 +00:00
This commit is contained in:
Nikolay Korolev 2020-10-18 22:53:25 +03:00
parent 6173e1dd10
commit a1112183de

View file

@ -1412,7 +1412,7 @@ CPathFind::FindNodeCoorsForScript(int32 id)
dir.Normalise();
if (dir.x < 0)
dir = -dir;
return m_pathNodes[id].GetPosition() + CVector(-dir.y, dir.z, 0.0f) * (LANE_WIDTH / 2 + m_pathNodes[id].GetDividerWidth());
return m_pathNodes[id].GetPosition() + CVector(-dir.y, dir.x, 0.0f) * (LANE_WIDTH / 2 + m_pathNodes[id].GetDividerWidth());
}
float