summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Chicken.h
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2018-02-04 21:53:35 +0100
committerAlexander Harkness <me@bearbin.net>2018-02-04 21:53:35 +0100
commitd12804d4c05d125c8de3187da29013bef6ae5d0b (patch)
tree866f22486712382c07dddf60e0d2478311888e05 /src/Mobs/Chicken.h
parentcppcheck found an out of bound array access. (#4182) (diff)
downloadcuberite-d12804d4c05d125c8de3187da29013bef6ae5d0b.tar
cuberite-d12804d4c05d125c8de3187da29013bef6ae5d0b.tar.gz
cuberite-d12804d4c05d125c8de3187da29013bef6ae5d0b.tar.bz2
cuberite-d12804d4c05d125c8de3187da29013bef6ae5d0b.tar.lz
cuberite-d12804d4c05d125c8de3187da29013bef6ae5d0b.tar.xz
cuberite-d12804d4c05d125c8de3187da29013bef6ae5d0b.tar.zst
cuberite-d12804d4c05d125c8de3187da29013bef6ae5d0b.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Chicken.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Mobs/Chicken.h b/src/Mobs/Chicken.h
index 0dfc5e3d6..bb12ce9b3 100644
--- a/src/Mobs/Chicken.h
+++ b/src/Mobs/Chicken.h
@@ -27,7 +27,7 @@ public:
a_Items.Add(E_ITEM_SEEDS);
}
- virtual void HandleFalling(void) override;
+ virtual bool DoTakeDamage(TakeDamageInfo & a_TDI) override;
private: