summaryrefslogtreecommitdiffstats
path: root/src/World.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/World.hpp')
-rw-r--r--src/World.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/World.hpp b/src/World.hpp
index 94e17f6..591e7a7 100644
--- a/src/World.hpp
+++ b/src/World.hpp
@@ -28,7 +28,7 @@ struct RaycastResult {
class World {
int dimension = 0;
- std::map<Vector, Section> sections;
+ std::map<Vector, std::shared_ptr<Section>> sections;
Section ParseSection(StreamInput *data, Vector position);