summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-29 01:28:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-29 01:28:12 +0200
commitb0069421278d6fc3fac0153e2f19c549c7bfce32 (patch)
tree2104e6dbf45bcd9fbedf1dd144cfdec4f0dbfc1e /test
parentb6a42cc53f808c86342d1bcd400ea95e6e7f5762 (diff)
a
Diffstat (limited to 'test')
-rw-r--r--test/json.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json.cpp b/test/json.cpp
index 83854c38..927e7355 100644
--- a/test/json.cpp
+++ b/test/json.cpp
@@ -20,7 +20,7 @@ static chunk make_test_chunk()
constexpr auto N = TILE_MAX_DIM;
chunk c;
for (auto& [x, k, pt] : c) {
- x.ground_image = { tiles, decltype(tile_image::variant)(k % tiles->num_tiles()) };
+ x.ground = { tiles, decltype(tile_image::variant)(k % tiles->num_tiles()) };
}
constexpr auto K = N/2;
c[{K, K }].wall_north = { metal1, 0 };