aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/FlyingMob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/FlyingMob.cpp')
-rw-r--r--Minecraft.World/FlyingMob.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Minecraft.World/FlyingMob.cpp b/Minecraft.World/FlyingMob.cpp
index b7a01678..1757ae58 100644
--- a/Minecraft.World/FlyingMob.cpp
+++ b/Minecraft.World/FlyingMob.cpp
@@ -14,6 +14,12 @@ void FlyingMob::causeFallDamage(float distance)
// not trigger the "fallOn" tile calls (such as trampling crops)
}
+void FlyingMob::checkFallDamage(double ya, bool onGround)
+{
+ // this method is empty because flying creatures should
+ // not trigger the "fallOn" tile calls (such as trampling crops)
+}
+
void FlyingMob::travel(float xa, float ya)
{
if (isInWater())