summaryrefslogtreecommitdiffhomepage
path: root/editor/wall-editor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/wall-editor.cpp')
-rw-r--r--editor/wall-editor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/editor/wall-editor.cpp b/editor/wall-editor.cpp
index b2dce5fe..2341f929 100644
--- a/editor/wall-editor.cpp
+++ b/editor/wall-editor.cpp
@@ -58,7 +58,7 @@ void wall_editor::load_atlases()
wall_editor::wall_editor()
{
load_atlases();
- _selected_atlas = _atlases.begin()->second.atlas; // todo
+ _selected_atlas = loader.wall_atlas("concrete1"_s, false); // todo
}
StringView wall_editor::name() const { return "wall"_s; }
@@ -85,6 +85,7 @@ void wall_editor::place_tile(world& w, global_coords coords, const std::shared_p
editor_snap_mode wall_editor::check_snap(int mods) const
{
+ (void)mods;
if (!is_anything_selected())
return editor_snap_mode::none;
if (_r == rotation::N)