From 871a9d4dd9315f9890b8afbb8584410627456c07 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 4 Feb 2024 05:28:02 +0100 Subject: aaaaaaaaaaaaaaaa --- editor/tests/raycast-test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/tests/raycast-test.cpp b/editor/tests/raycast-test.cpp index 1abffa72..ca51ef82 100644 --- a/editor/tests/raycast-test.cpp +++ b/editor/tests/raycast-test.cpp @@ -121,7 +121,7 @@ auto get_chunk_neighbors(class world& w, chunk_coords_ ch) chunk_neighbors nbs; for (int j = 0; j < 3; j++) for (int i = 0; i < 3; i++) - nbs.array[i][j] = w.at(ch - Vector2i(i - 1, j - 1)); + nbs.array[i][j] = w.at(ch + Vector2i(i - 1, j - 1)); return nbs; } -- cgit v1.2.3