summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-03-04 04:47:08 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-03-04 06:58:22 +0100
commitd7b2fc3d582ae4bf0c2fd386628a87a98d154b3f (patch)
tree59610a1a73c75d50996e34a66ece4ea8c900368a /src
parent4b66c6d15caa594666776b297532e2e5cecd8bef (diff)
test/critter: add another test
Diffstat (limited to 'src')
-rw-r--r--src/world.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/world.hpp b/src/world.hpp
index ae6dd329..de04654c 100644
--- a/src/world.hpp
+++ b/src/world.hpp
@@ -67,6 +67,7 @@ public:
size_t size() const noexcept { return _chunks.size(); }
const auto& chunks() const noexcept { return _chunks; }
+ auto& chunks() noexcept { return _chunks; }
void serialize(StringView filename);
static class world deserialize(StringView filename, loader_policy asset_policy) noexcept(false);