diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 05:28:02 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-04 05:28:02 +0100 |
commit | 871a9d4dd9315f9890b8afbb8584410627456c07 (patch) | |
tree | 6033520d67d7398c7f1701b5e2f1290c19f1e347 /editor/tests | |
parent | 7d7189b02ee81abedfebf270a3306a25fc9ab4c5 (diff) |
aaaaaaaaaaaaaaaa
Diffstat (limited to 'editor/tests')
-rw-r--r-- | editor/tests/raycast-test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |