summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Mooshroom.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/Mooshroom.h')
-rw-r--r--src/Mobs/Mooshroom.h17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/Mobs/Mooshroom.h b/src/Mobs/Mooshroom.h
index 7ecd45c5b..8b4a7e02b 100644
--- a/src/Mobs/Mooshroom.h
+++ b/src/Mobs/Mooshroom.h
@@ -7,13 +7,11 @@
-class cMooshroom:
- public cPassiveMonster
+class cMooshroom : public cPassiveMonster
{
using Super = cPassiveMonster;
-public:
-
+ public:
cMooshroom();
CLASS_PROTODEF(cMooshroom)
@@ -21,12 +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); }
+};