diff options
author | tonibm19 <tonibm19@gmail.com> | 2014-01-29 19:15:26 +0100 |
---|---|---|
committer | tonibm19 <tonibm19@gmail.com> | 2014-01-29 19:15:26 +0100 |
commit | 1c1832b6ce08de71e6a46187420d91eacb18d16e (patch) | |
tree | 19e8f8dc0cd0fb0dff42e041d6ebbda8f99caf9b /src/Mobs/Pig.h | |
parent | Fixed sheep (diff) | |
download | cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.gz cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.bz2 cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.lz cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.xz cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.tar.zst cuberite-1c1832b6ce08de71e6a46187420d91eacb18d16e.zip |
Diffstat (limited to 'src/Mobs/Pig.h')
-rw-r--r-- | src/Mobs/Pig.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Mobs/Pig.h b/src/Mobs/Pig.h index f42a4f412..d434324c1 100644 --- a/src/Mobs/Pig.h +++ b/src/Mobs/Pig.h @@ -19,14 +19,13 @@ public: virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override; virtual void OnRightClicked(cPlayer & a_Player) override; - virtual void Tick(float a_Dt, cChunk & a_Chunk) override; + + virtual const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_CARROT); } bool IsSaddled(void) const { return m_bIsSaddled; } - bool IsBegging (void) const { return m_IsBegging; } private: - bool m_IsBegging; bool m_bIsSaddled; } ; |