From be5ca3208891a8d45cbb7f9c25905f46332572a0 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 11 Dec 2023 04:07:58 +0100 Subject: w --- src/chunk-collision.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chunk-collision.cpp') diff --git a/src/chunk-collision.cpp b/src/chunk-collision.cpp index 611754bc..ed6a23d2 100644 --- a/src/chunk-collision.cpp +++ b/src/chunk-collision.cpp @@ -44,7 +44,7 @@ void chunk::ensure_passability() noexcept if (const auto* atlas = ground_atlas_at(i)) { auto [min, max] = whole_tile(i); - auto id = make_id(collision_type::geometry, atlas->pass_mode(pass_mode::pass), i+1); + auto id = make_id(collision_type::geometry, atlas->pass_mode(), i+1); _rtree.Insert(min.data(), max.data(), id); } } -- cgit v1.2.3