summaryrefslogtreecommitdiffhomepage
path: root/editor/scenery-editor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-18 17:48:34 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-18 17:48:34 +0100
commitb426d61f903fa4dd635fb525eb4c28ca1c1d1929 (patch)
treeb941499890be0698f3138866c94677a86fcd59e6 /editor/scenery-editor.cpp
parenta418f0571231a429b8e0adfea7e09c2f81856a57 (diff)
src: fix scenery mesh modified marking
Diffstat (limited to 'editor/scenery-editor.cpp')
-rw-r--r--editor/scenery-editor.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/editor/scenery-editor.cpp b/editor/scenery-editor.cpp
index 22a7fd16..45dd0288 100644
--- a/editor/scenery-editor.cpp
+++ b/editor/scenery-editor.cpp
@@ -96,11 +96,8 @@ void scenery_editor::place_tile(world& w, global_coords pos, const scenery_& s)
}
}
else
- {
// todo check collision at pos
w.make_entity<scenery>(w.make_id(), pos, s.proto);
- }
- c.mark_scenery_modified();
}
} // namespace floormat