summaryrefslogtreecommitdiffhomepage
path: root/src/chunk.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-03-14 18:38:38 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-14 18:38:38 +0100
commit317121940b6692de2bdc84b706e9c7d9de293a7a (patch)
tree62e0f0dbc39198cd01e92183be0a7eaf96d0df9f /src/chunk.hpp
parente2e2bb26cdd89eebb7b22269e9fac695b9c0ca23 (diff)
a
Diffstat (limited to 'src/chunk.hpp')
-rw-r--r--src/chunk.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chunk.hpp b/src/chunk.hpp
index a5eba19e..9f4e2ebd 100644
--- a/src/chunk.hpp
+++ b/src/chunk.hpp
@@ -31,6 +31,7 @@ struct chunk final
{
friend struct tile_ref;
friend struct entity;
+ friend struct world;
tile_ref operator[](std::size_t idx) noexcept;
tile_proto operator[](std::size_t idx) const noexcept;