diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-10-18 21:52:49 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-10-18 21:52:49 +0200 |
commit | 6173e1dd10745a4e0970a7c0de7b58f9502bd7ca (patch) | |
tree | 8bbc65094ded24bb5840bd9eacde1dad86afb8b7 | |
parent | fix (diff) | |
download | re3-6173e1dd10745a4e0970a7c0de7b58f9502bd7ca.tar re3-6173e1dd10745a4e0970a7c0de7b58f9502bd7ca.tar.gz re3-6173e1dd10745a4e0970a7c0de7b58f9502bd7ca.tar.bz2 re3-6173e1dd10745a4e0970a7c0de7b58f9502bd7ca.tar.lz re3-6173e1dd10745a4e0970a7c0de7b58f9502bd7ca.tar.xz re3-6173e1dd10745a4e0970a7c0de7b58f9502bd7ca.tar.zst re3-6173e1dd10745a4e0970a7c0de7b58f9502bd7ca.zip |
Diffstat (limited to '')
-rw-r--r-- | src/control/PathFind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/PathFind.cpp b/src/control/PathFind.cpp index 14aead04..5d381f66 100644 --- a/src/control/PathFind.cpp +++ b/src/control/PathFind.cpp @@ -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 |