summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
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 73958b5e..afdee3a2 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().product()) };
+ x.ground_image = { tiles, (std::uint8_t)(k % tiles->num_tiles()) };
}
constexpr auto K = N/2;
c[{K, K }].wall_north = { metal1, 0 };