summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Pig.cpp
diff options
context:
space:
mode:
authorGargaj <gargaj@conspiracy.hu>2015-11-29 19:13:31 +0100
committerGargaj <gargaj@conspiracy.hu>2015-11-29 20:14:28 +0100
commit4ae3b64b077b444c8217f8da265cb5eedeaf699a (patch)
tree0da79374832cae75ae5d9e6822712b3b62cbdbe8 /src/Mobs/Pig.cpp
parentUpdated DumpInfo plugin (diff)
downloadcuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.tar
cuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.tar.gz
cuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.tar.bz2
cuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.tar.lz
cuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.tar.xz
cuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.tar.zst
cuberite-4ae3b64b077b444c8217f8da265cb5eedeaf699a.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)