summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Pig.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Mobs/Pig.h')
-rw-r--r--source/Mobs/Pig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/Mobs/Pig.h b/source/Mobs/Pig.h
index ae790ac2f..4fd0d8db8 100644
--- a/source/Mobs/Pig.h
+++ b/source/Mobs/Pig.h
@@ -18,6 +18,13 @@ public:
CLASS_PROTODEF(cPig);
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override;
+ virtual void OnRightClicked(cPlayer & a_Player) override;
+ bool IsSaddled(void) const { return m_bIsSaddled; }
+
+private:
+
+ bool m_bIsSaddled;
+
} ;