summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Ocelot.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/Ocelot.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/Ocelot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Mobs/Ocelot.h b/src/Mobs/Ocelot.h
index 75758a973..b8efc60ee 100644
--- a/src/Mobs/Ocelot.h
+++ b/src/Mobs/Ocelot.h
@@ -35,6 +35,7 @@ public:
{
a_Items.Add(E_ITEM_RAW_FISH);
}
+ virtual bool DoTakeDamage(TakeDamageInfo & a_TDI) override;
// Get functions
bool IsSitting (void) const override { return m_IsSitting; }