diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-11-06 11:26:58 +0100 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-11-06 11:26:58 +0100 |
commit | da20a8a09b324c07915c8468e43c4fb208c118f9 (patch) | |
tree | e3177c7cc6b9e21566e325cb71571c4b9c3a40e5 /src | |
parent | Added ignore=dirty to new submodules (diff) | |
parent | chickens don't take fall damage (diff) | |
download | cuberite-da20a8a09b324c07915c8468e43c4fb208c118f9.tar cuberite-da20a8a09b324c07915c8468e43c4fb208c118f9.tar.gz cuberite-da20a8a09b324c07915c8468e43c4fb208c118f9.tar.bz2 cuberite-da20a8a09b324c07915c8468e43c4fb208c118f9.tar.lz cuberite-da20a8a09b324c07915c8468e43c4fb208c118f9.tar.xz cuberite-da20a8a09b324c07915c8468e43c4fb208c118f9.tar.zst cuberite-da20a8a09b324c07915c8468e43c4fb208c118f9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Chicken.cpp | 4 | ||||
-rw-r--r-- | src/Mobs/Chicken.h | 2 |
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; |