diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-07 16:59:37 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-07 16:59:37 +0200 |
commit | 8adcae9232dab68945196c1e8c49764f910928b6 (patch) | |
tree | 02b03c212088b4afa76eee6c25c872cfa5ed8c29 | |
parent | 15e8cebc19bfb484ba46a3589378d52ca769769e (diff) |
a
-rw-r--r-- | test/json.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/json.cpp b/test/json.cpp index 1db03d03..3ce3c9d0 100644 --- a/test/json.cpp +++ b/test/json.cpp @@ -19,8 +19,8 @@ static chunk make_test_chunk() constexpr auto N = TILE_MAX_DIM; chunk c; for (auto [x, k, pt] : c) { - const auto& atlas = pt.x > N/2 && pt.y >= N/2 ? metal1 : metal2; - x.ground_image = { atlas, (std::uint8_t)(k % atlas->num_tiles().product()) }; + const auto& atlas = pt.x > N/2 && pt.y >= N/2 ? metal1 : metal2; + x.ground_image = { atlas, (std::uint8_t)(k % atlas->num_tiles().product()) }; } constexpr auto K = N/2; c[{K, K }].wall_north = { metal3, 0 }; |