aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/LakeFeature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/LakeFeature.cpp')
-rw-r--r--Minecraft.World/LakeFeature.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/LakeFeature.cpp b/Minecraft.World/LakeFeature.cpp
index ac240e61..a25a7ece 100644
--- a/Minecraft.World/LakeFeature.cpp
+++ b/Minecraft.World/LakeFeature.cpp
@@ -24,8 +24,8 @@ bool LakeFeature::place(Level *level, Random *random, int x, int y, int z)
bool grid[16*16*8] = {0};
- LevelGenerationOptions *levelGenOptions = NULL;
- if( app.getLevelGenerationOptions() != NULL )
+ LevelGenerationOptions *levelGenOptions = nullptr;
+ if( app.getLevelGenerationOptions() != nullptr )
{
levelGenOptions = app.getLevelGenerationOptions();