aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/FenceTile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/FenceTile.cpp')
-rw-r--r--Minecraft.World/FenceTile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/FenceTile.cpp b/Minecraft.World/FenceTile.cpp
index 39f4aac1..83c31167 100644
--- a/Minecraft.World/FenceTile.cpp
+++ b/Minecraft.World/FenceTile.cpp
@@ -122,7 +122,7 @@ bool FenceTile::connectsTo(LevelSource *level, int x, int y, int z)
return true;
}
Tile *tileInstance = Tile::tiles[tile];
- if (tileInstance != NULL)
+ if (tileInstance != nullptr)
{
if (tileInstance->material->isSolidBlocking() && tileInstance->isCubeShaped())
{