From 98c557e46b2caa02c000721a3ef5a85c955fbeda Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 8 Jan 2024 06:44:58 +0100 Subject: a --- editor/wall-editor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'editor') 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) -- cgit v1.2.3