summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Mobs/Chicken.cpp4
-rw-r--r--src/Mobs/Chicken.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/Mobs/Chicken.cpp b/src/Mobs/Chicken.cpp
index a52d1a2da..71f401e6e 100644
--- a/src/Mobs/Chicken.cpp
+++ b/src/Mobs/Chicken.cpp
@@ -61,6 +61,10 @@ void cChicken::GetDrops(cItems & a_Drops, cEntity * a_Killer)
+void cChicken::HandleFalling(void)
+{
+ // empty - chickens don't take fall damage
+}
diff --git a/src/Mobs/Chicken.h b/src/Mobs/Chicken.h
index 9349187c6..05cf0ed39 100644
--- a/src/Mobs/Chicken.h
+++ b/src/Mobs/Chicken.h
@@ -21,6 +21,8 @@ public:
virtual const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_SEEDS); }
+ virtual void HandleFalling(void) override;
+
private:
int m_EggDropTimer;