summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Pig.cpp
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-11-30 07:58:02 +0100
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-11-30 07:58:02 +0100
commit1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9 (patch)
tree0da79374832cae75ae5d9e6822712b3b62cbdbe8 /src/Mobs/Pig.cpp
parentUpdated DumpInfo plugin (diff)
parentimplement breeding (diff)
downloadcuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.tar
cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.tar.gz
cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.tar.bz2
cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.tar.lz
cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.tar.xz
cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.tar.zst
cuberite-1a9c023d6c69d5aa37ed0d3726e0f4af77b974f9.zip
Diffstat (limited to 'src/Mobs/Pig.cpp')
-rw-r--r--src/Mobs/Pig.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Mobs/Pig.cpp b/src/Mobs/Pig.cpp
index 21c8e923a..b67b29d87 100644
--- a/src/Mobs/Pig.cpp
+++ b/src/Mobs/Pig.cpp
@@ -39,6 +39,8 @@ void cPig::GetDrops(cItems & a_Drops, cEntity * a_Killer)
void cPig::OnRightClicked(cPlayer & a_Player)
{
+ super::OnRightClicked(a_Player);
+
if (m_bIsSaddled)
{
if (m_Attachee != nullptr)