diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-11 18:26:38 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-12-11 18:26:38 +0100 |
| commit | 6944f24118eee8135f2465bed4f728fe1445f723 (patch) | |
| tree | 920578957aaeb9370050d7dad53627dabd56b7f1 /editor/editor.cpp | |
| parent | 34f63343a30b3fdcd1808e23b899f738adbebd84 (diff) | |
a
Diffstat (limited to 'editor/editor.cpp')
| -rw-r--r-- | editor/editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp index 816f73e3..984fa0a1 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -137,7 +137,7 @@ void editor::on_click_(world& world, global_coords pos, button b) { default: break; case button::place: - if (const auto& sel = mode->get_selected()) + if (const auto* sel = mode->get_selected()) mode->place_tile(world, pos, sel, *_app); break; case button::remove: |
