summaryrefslogtreecommitdiffhomepage
path: root/src/chunk.inl
diff options
context:
space:
mode:
Diffstat (limited to 'src/chunk.inl')
-rw-r--r--src/chunk.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.inl b/src/chunk.inl
index bbfec37a..038b5863 100644
--- a/src/chunk.inl
+++ b/src/chunk.inl
@@ -13,7 +13,7 @@ void chunk::with_scenery_update(entity& s, F&& fun)
// todo handle coord & offset fields
auto ch = s.coord.chunk();
- entity_proto s0 = s;
+ entity_proto s0(s);
bbox bb0; bool b0 = _bbox_for_scenery(s, bb0);
bool modified = true;