summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/chunk.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.inl b/src/chunk.inl
index 038b5863..132657ab 100644
--- a/src/chunk.inl
+++ b/src/chunk.inl
@@ -30,7 +30,7 @@ void chunk::with_scenery_update(entity& s, F&& fun)
if (bbox bb; !is_passability_modified())
if (bool b = _bbox_for_scenery(s, bb); b != b0 || bb != bb0)
_replace_bbox(bb0, bb, b0, b);
- if (!is_scenery_modified() && !s.is_dynamic() && s != s0)
+ if (!is_scenery_modified() && !s.is_dynamic() && entity_proto(s) != s0)
mark_scenery_modified(false);
}