From 853e6e6882969f24547d782d42a3c19df4395064 Mon Sep 17 00:00:00 2001 From: Gargaj Date: Sat, 14 Nov 2015 16:42:26 +0100 Subject: change from single followable item to multiple --- src/Mobs/PassiveMonster.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Mobs/PassiveMonster.h') diff --git a/src/Mobs/PassiveMonster.h b/src/Mobs/PassiveMonster.h index 7f20c3092..a7e574a1d 100644 --- a/src/Mobs/PassiveMonster.h +++ b/src/Mobs/PassiveMonster.h @@ -20,9 +20,8 @@ public: /** When hit by someone, run away */ virtual bool DoTakeDamage(TakeDamageInfo & a_TDI) override; - /** Returns the item that the animal of this class follows when a player holds it in hand - Return an empty item not to follow (default). */ - virtual const cItem GetFollowedItem(void) const { return cItem(); } + /** Returns the items that the animal of this class follows when a player holds it in hand. */ + virtual void GetFollowedItems(cItems & a_Items) { } } ; -- cgit v1.2.3