diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-28 18:31:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-28 18:31:18 +0200 |
commit | 1b84fc144f77c4ebef6fdc0a476410420e0a95b3 (patch) | |
tree | 62d019065f4e704ca33b8808e6d76b2fec640da1 /test | |
parent | 7c02d3b8f1e6ec4ee82bdf1220da431b1cd1231e (diff) |
refactoring work
Diffstat (limited to 'test')
-rw-r--r-- | test/json.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json.cpp b/test/json.cpp index 8ea2bd09..83854c38 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, k % tiles->num_tiles() }; + x.ground_image = { tiles, decltype(tile_image::variant)(k % tiles->num_tiles()) }; } constexpr auto K = N/2; c[{K, K }].wall_north = { metal1, 0 }; |