diff options
-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, + }; } } |