aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/ZoomLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/ZoomLayer.cpp')
-rw-r--r--Minecraft.World/ZoomLayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/ZoomLayer.cpp b/Minecraft.World/ZoomLayer.cpp
index fd452a08..c2123785 100644
--- a/Minecraft.World/ZoomLayer.cpp
+++ b/Minecraft.World/ZoomLayer.cpp
@@ -86,7 +86,7 @@ shared_ptr<Layer>ZoomLayer::zoom(int64_t seed, shared_ptr<Layer> sup, int count)
shared_ptr<Layer>result = sup;
for (int i = 0; i < count; i++)
{
- result = std::make_shared<ZoomLayer>(seed + i, result);
+ result = shared_ptr<Layer>(new ZoomLayer(seed + i, result));
}
return result;
} \ No newline at end of file