summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
Diffstat (limited to 'editor')
-rw-r--r--editor/editor.cpp2
-rw-r--r--editor/update.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp
index 0cd15d17..defc1476 100644
--- a/editor/editor.cpp
+++ b/editor/editor.cpp
@@ -161,7 +161,7 @@ void tile_editor::place_tile(world& world, global_coords pos, tile_image& img)
case editor_mode::select:
break;
case editor_mode::floor: {
- t.ground_image = { atlas, variant };
+ t.ground = {atlas, variant };
break;
}
case editor_mode::walls: {
diff --git a/editor/update.cpp b/editor/update.cpp
index f22ad522..52011b73 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -18,7 +18,7 @@ void app::maybe_initialize_chunk_(const chunk_coords& pos, chunk& c)
#else
const auto& atlas = pt.x == N/2 || pt.y == N/2 ? _floor2 : _floor1;
#endif
- x.ground_image = { atlas, decltype(tile_image::variant)(k % atlas->num_tiles()) };
+ x.ground = { atlas, decltype(tile_image::variant)(k % atlas->num_tiles()) };
}
#ifdef FM_NO_BINDINGS
const auto& wall1 = floor1, wall2 = floor1;