mirror of
https://github.com/halpz/re3.git
synced 2024-12-24 17:55:29 +00:00
fix
This commit is contained in:
parent
e2c29a3b28
commit
6173e1dd10
|
@ -1412,7 +1412,7 @@ CPathFind::FindNodeCoorsForScript(int32 id)
|
|||
dir.Normalise();
|
||||
if (dir.x < 0)
|
||||
dir = -dir;
|
||||
return m_pathNodes[id].GetPosition() + CVector(-dir.x, dir.y, 0.0f) * (LANE_WIDTH / 2 + m_pathNodes[id].GetDividerWidth());
|
||||
return m_pathNodes[id].GetPosition() + CVector(-dir.y, dir.z, 0.0f) * (LANE_WIDTH / 2 + m_pathNodes[id].GetDividerWidth());
|
||||
}
|
||||
|
||||
float
|
||||
|
|
Loading…
Reference in a new issue