diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-21 21:11:33 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-21 21:11:33 +0200 |
commit | df2073a5692c991e4fc43c926334983997d272af (patch) | |
tree | 60d959c0e1dd97f0b4e63eacc60c162fc4a3e670 /test | |
parent | 04ee43ea683f5b9b591e10409b5e5a622e8a198a (diff) |
lots of refactoring types crap
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 afdee3a2..f0a32c1e 100644 --- a/test/json.cpp +++ b/test/json.cpp @@ -19,7 +19,7 @@ static chunk make_test_chunk() constexpr auto N = TILE_MAX_DIM; chunk c; for (auto& [x, k, pt] : c) { - x.ground_image = { tiles, (std::uint8_t)(k % tiles->num_tiles()) }; + x.ground_image = { tiles, k % tiles->num_tiles() }; } constexpr auto K = N/2; c[{K, K }].wall_north = { metal1, 0 }; |