aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/WitchRenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/WitchRenderer.cpp')
-rw-r--r--Minecraft.Client/WitchRenderer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.Client/WitchRenderer.cpp b/Minecraft.Client/WitchRenderer.cpp
index ec2b8a76..5e0f2b10 100644
--- a/Minecraft.Client/WitchRenderer.cpp
+++ b/Minecraft.Client/WitchRenderer.cpp
@@ -18,7 +18,7 @@ void WitchRenderer::render(shared_ptr<Entity> entity, double x, double y, double
shared_ptr<ItemInstance> item = mob->getCarriedItem();
- witchModel->holdingItem = item != nullptr;
+ witchModel->holdingItem = item != NULL;
MobRenderer::render(mob, x, y, z, rot, a);
}
@@ -38,7 +38,7 @@ void WitchRenderer::additionalRendering(shared_ptr<LivingEntity> entity, float a
shared_ptr<ItemInstance> item = mob->getCarriedItem();
- if (item != nullptr)
+ if (item != NULL)
{
glPushMatrix();