aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/Snowball.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/Snowball.cpp')
-rw-r--r--Minecraft.World/Snowball.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Minecraft.World/Snowball.cpp b/Minecraft.World/Snowball.cpp
index bb873b20..6588ac96 100644
--- a/Minecraft.World/Snowball.cpp
+++ b/Minecraft.World/Snowball.cpp
@@ -31,7 +31,7 @@ Snowball::Snowball(Level *level, double x, double y, double z) : Throwable(level
void Snowball::onHit(HitResult *res)
{
- if (res->entity != nullptr)
+ if (res->entity != NULL)
{
int damage = 0;
if ( res->entity->instanceof(eTYPE_BLAZE) )