We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a24b362 commit e99eeaaCopy full SHA for e99eeaa
Source/System/PathFinder.cpp
@@ -73,7 +73,7 @@ int PathFinder::Create(int nodeDimension) {
73
m_WrapsX = g_SceneMan.SceneWrapsX();
74
m_WrapsY = g_SceneMan.SceneWrapsY();
75
76
- m_Offset = Vector(nodeDimension * 0.5f, nodeDimension * 0.5f);
+ m_Offset = Vector(nodeDimension * 0.5f, 0.0F);
77
78
// Create and assign scene coordinate positions for all nodes.
79
Vector nodePos = Vector(static_cast<float>(nodeDimension) / 2.0F, static_cast<float>(nodeDimension) / 2.0F) + m_Offset;
0 commit comments