From eed15d9a39d2cc3886bcd5025f70a230ad59d316 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 2 Apr 2023 06:09:21 +0200 Subject: a --- src/chunk-scenery.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/chunk-scenery.cpp b/src/chunk-scenery.cpp index 7852088f..134a1e44 100644 --- a/src/chunk-scenery.cpp +++ b/src/chunk-scenery.cpp @@ -104,8 +104,8 @@ auto chunk::make_topo_sort_data(entity& e) -> topo_sort_data { data.slope = (bb_max[1]-bb_min[1])/bb_len; data.mode = topo_sort_data::mode_static; - data.bb_min = Vector2s(bb_min); - data.bb_max = Vector2s(bb_max); + data.bb_min = Vector2s(bb_min - px_start); + data.bb_max = Vector2s(bb_max - px_start); } break; } -- cgit v1.2.3