Skip to content

Commit e99eeaa

Browse files
committed
Removed vertical offset - it's nicer to have non-centred two vertical options for crawling
1 parent a24b362 commit e99eeaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/System/PathFinder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ int PathFinder::Create(int nodeDimension) {
7373
m_WrapsX = g_SceneMan.SceneWrapsX();
7474
m_WrapsY = g_SceneMan.SceneWrapsY();
7575

76-
m_Offset = Vector(nodeDimension * 0.5f, nodeDimension * 0.5f);
76+
m_Offset = Vector(nodeDimension * 0.5f, 0.0F);
7777

7878
// Create and assign scene coordinate positions for all nodes.
7979
Vector nodePos = Vector(static_cast<float>(nodeDimension) / 2.0F, static_cast<float>(nodeDimension) / 2.0F) + m_Offset;

0 commit comments

Comments
 (0)