diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-07 09:05:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-09-07 09:05:18 +0200 |
commit | 100f35c5129b28c12aa776b5664a9e29f1f551bf (patch) | |
tree | fff276ba524144835edb48f4e58da5094b3cf15c /test/json.cpp | |
parent | 259219f76c49e6dee0ea7fa0ca09731354fc847f (diff) |
chunk: add hack to prevent character feet clipping
Diffstat (limited to 'test/json.cpp')
-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 d9498e49..9c638530 100644 --- a/test/json.cpp +++ b/test/json.cpp @@ -23,7 +23,7 @@ static chunk make_test_chunk() tiles = loader.tile_atlas("tiles", {8, 5}, pass_mode::pass); constexpr auto N = TILE_MAX_DIM; world w; - chunk c{w}; + chunk c{w, {}}; for (auto [x, k, pt] : c) { x.ground() = { tiles, variant_t(k % tiles->num_tiles()) }; } |