diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-08 06:44:58 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-08 06:44:58 +0100 |
| commit | 98c557e46b2caa02c000721a3ef5a85c955fbeda (patch) | |
| tree | cbc385881c244364e8b4b996ae5c6b954fc0a190 /editor | |
| parent | 7f42651fdd5a7d575ffdde89c369fe28cad2ced5 (diff) | |
a
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/wall-editor.cpp | 3 |
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) |
