summaryrefslogtreecommitdiffhomepage
path: root/editor/tests
diff options
context:
space:
mode:
Diffstat (limited to 'editor/tests')
-rw-r--r--editor/tests/region-test.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/tests/region-test.cpp b/editor/tests/region-test.cpp
index 907ea99c..47272593 100644
--- a/editor/tests/region-test.cpp
+++ b/editor/tests/region-test.cpp
@@ -152,10 +152,8 @@ void region_test::do_region_extraction(world& w, chunk_coords_ coord)
{
if (auto* c = w.at(coord))
{
- chunk::pass_region r;
- c->make_pass_region(r);
result = {
- .is_passable = r.bits,
+ .is_passable = c->make_pass_region().bits,
.c = coord,
.exists = true,
};