aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/BoundingBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/BoundingBox.cpp')
-rw-r--r--Minecraft.World/BoundingBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/BoundingBox.cpp b/Minecraft.World/BoundingBox.cpp
index 74dba470..e93158f2 100644
--- a/Minecraft.World/BoundingBox.cpp
+++ b/Minecraft.World/BoundingBox.cpp
@@ -115,7 +115,7 @@ BoundingBox *BoundingBox::getIntersection(BoundingBox *other)
{
if (!intersects(other))
{
- return NULL;
+ return nullptr;
}
BoundingBox *result = new BoundingBox();
result->x0 = Math::_max(x0, other->x0);