diff options
Diffstat (limited to 'test/serializer.cpp')
| -rw-r--r-- | test/serializer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/serializer.cpp b/test/serializer.cpp index bf31e7f5..c768023e 100644 --- a/test/serializer.cpp +++ b/test/serializer.cpp @@ -4,7 +4,7 @@ #include "src/scenery.hpp" #include "src/critter.hpp" #include "src/light.hpp" -#include "src/tile-atlas.hpp" +#include "src/ground-atlas.hpp" #include "src/anim-atlas.hpp" #include "src/tile-iterator.hpp" #include <Corrade/Utility/Path.h> @@ -18,7 +18,7 @@ chunk& test_app::make_test_chunk(world& w, chunk_coords_ ch) chunk& c = w[ch]; c.mark_modified(); auto metal2 = loader.wall_atlas("empty", false); - auto tiles = loader.tile_atlas("tiles", {8, 5}, pass_mode::pass); + auto tiles = loader.ground_atlas("tiles", { 8, 5 }, pass_mode::pass); constexpr auto N = TILE_MAX_DIM; for (auto [x, k, pt] : c) x.ground() = { tiles, variant_t(k % tiles->num_tiles()) }; |
