summaryrefslogtreecommitdiffhomepage
path: root/editor/editor.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-27 14:10:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-27 14:10:01 +0200
commit06f7a92711c114df01745d40accba15b10d2f720 (patch)
treeb96b310ebc086b5d19330f8160761c761bb06f60 /editor/editor.cpp
parentf8b9bed570735f5c11faa2e66da28e4e4236845d (diff)
some random cleanup
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 ea48eb00..b3e3aec6 100644
--- a/editor/editor.cpp
+++ b/editor/editor.cpp
@@ -160,7 +160,6 @@ void tile_editor::place_tile(world& world, global_coords pos, tile_image& img)
case editor_mode::select:
break;
case editor_mode::floor: {
- const auto& [c, t] = world[pos];
t.ground_image = { atlas, variant };
break;
}