summaryrefslogtreecommitdiffhomepage
path: root/test/dijkstra.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/dijkstra.cpp')
-rw-r--r--test/dijkstra.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dijkstra.cpp b/test/dijkstra.cpp
index 7f2fc38b..301257b1 100644
--- a/test/dijkstra.cpp
+++ b/test/dijkstra.cpp
@@ -13,7 +13,7 @@ void test_app::test_dijkstra()
constexpr auto wcx = 1, wcy = 1, wtx = 8, wty = 8, wox = 3, woy = 3;
constexpr auto max_dist = (uint32_t)(Vector2i(Math::abs(wcx)+1, Math::abs(wcy)+1)*TILE_MAX_DIM*iTILE_SIZE2).length();
- constexpr auto wch = chunk_coords_{chunk_coords_{wcx, wcy, 0}};
+ constexpr auto wch = chunk_coords_{wcx, wcy, 0};
constexpr auto wt = local_coords{wtx, wty};
constexpr auto wpos = global_coords{wch, wt};