diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-16 04:46:41 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-16 04:46:41 +0100 |
commit | 371f3ba371355ef204bf26bfe8aac962cebc1e4c (patch) | |
tree | 09a081d0ec9b322b832e3dfea35a442a72b72a75 /src/chunk.cpp | |
parent | c8c86c776483a60b988b18257573009b9897fd6c (diff) |
b
Diffstat (limited to 'src/chunk.cpp')
-rw-r--r-- | src/chunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.cpp b/src/chunk.cpp index 19d79b3a..8674eb9f 100644 --- a/src/chunk.cpp +++ b/src/chunk.cpp @@ -181,7 +181,7 @@ void chunk::remove_object(size_t i) fm_assert(_objects_sorted); auto& es = _objects; fm_debug_assert(i < es.size()); - const auto& e = es[i]; + const auto e = es[i]; if (!e->is_dynamic()) mark_scenery_modified(); if (bbox bb; _bbox_for_scenery(*e, bb)) |