diff options
Diffstat (limited to 'src/chunk.hpp')
-rw-r--r-- | src/chunk.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp index 6ba8ef5e..8d6f5a6b 100644 --- a/src/chunk.hpp +++ b/src/chunk.hpp @@ -82,7 +82,8 @@ struct chunk final tile_atlas* wall_atlas_at(std::size_t i) const noexcept; scenery_mesh_tuple ensure_scenery_mesh() noexcept; - anim_atlas* scenery_atlas_at(std::size_t i) const noexcept; + std::shared_ptr<anim_atlas>& scenery_atlas_at(std::size_t i) noexcept; + scenery& scenery_at(std::size_t i) noexcept; void ensure_passability() noexcept; |