diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-24 23:27:42 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-24 23:27:42 +0100 |
commit | 05b530deb76137b4a91aa9efb3354952ab78ce60 (patch) | |
tree | 73d90214a1a38f4107716d5e469e2d9ebdd17b2a | |
parent | 58c94ce5b5ff5074ebb336559f9d35f738476c89 (diff) |
correctly assign chunk coord for region test overlay display
-rw-r--r-- | editor/tests/region-test.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/editor/tests/region-test.cpp b/editor/tests/region-test.cpp index ab270383..fa6a5ed3 100644 --- a/editor/tests/region-test.cpp +++ b/editor/tests/region-test.cpp @@ -159,8 +159,11 @@ void region_test::do_region_extraction(world& w, chunk_coords_ coord) { chunk::pass_region r; c->make_pass_region(r); - result.is_passable = r.bits; - result.exists = true; + result = { + .is_passable = r.bits, + .c = coord, + .exists = true, + }; } } |