summaryrefslogtreecommitdiffhomepage
path: root/editor/editor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-01 16:50:21 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-01 16:50:21 +0100
commit691bcad96ad68c215f4956e376e0391c553139c9 (patch)
tree89a6770c92cfee9d49dfe4bee139592792f8deff /editor/editor.cpp
parenta48aa90f70c4be147e69b754483c7886db6d2ee0 (diff)
fix keybindings
Diffstat (limited to 'editor/editor.cpp')
-rw-r--r--editor/editor.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp
index 3d2ee3a6..011cdc18 100644
--- a/editor/editor.cpp
+++ b/editor/editor.cpp
@@ -153,7 +153,6 @@ tile_image_proto tile_editor::get_selected()
void tile_editor::place_tile(world& world, global_coords pos, const tile_image_proto& img)
{
auto [c, t] = world[pos];
- const auto& [atlas, variant] = img;
switch (_mode)
{
case editor_mode::none: