summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Cow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Cow.h')
-rw-r--r--src/Mobs/Cow.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/Mobs/Cow.h b/src/Mobs/Cow.h
index 657c48cce..f27e186ed 100644
--- a/src/Mobs/Cow.h
+++ b/src/Mobs/Cow.h
@@ -7,13 +7,11 @@
-class cCow:
- public cPassiveMonster
+class cCow : public cPassiveMonster
{
using Super = cPassiveMonster;
-public:
-
+ public:
cCow();
CLASS_PROTODEF(cCow)
@@ -21,13 +19,5 @@ public:
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
virtual void OnRightClicked(cPlayer & a_Player) override;
- virtual void GetFollowedItems(cItems & a_Items) override
- {
- a_Items.Add(E_ITEM_WHEAT);
- }
-
-} ;
-
-
-
-
+ virtual void GetFollowedItems(cItems & a_Items) override { a_Items.Add(E_ITEM_WHEAT); }
+};