summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/object.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/object.cpp b/src/object.cpp
index 3c1dae9a..49f56227 100644
--- a/src/object.cpp
+++ b/src/object.cpp
@@ -242,6 +242,8 @@ void object::teleport_to(size_t& i, global_coords coord_, Vector2b offset_, rota
non_const(coord) = coord_;
set_bbox_(offset_, bb_offset, bb_size, pass);
non_const(r) = new_r;
+ if (!dyn)
+ c->mark_scenery_modified();
}
else
{