1
0
Fork 0

chickens don't take fall damage

This commit is contained in:
Gargaj 2015-11-06 10:22:40 +01:00
parent ff7f0afc5f
commit 5bcd4b271e
2 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,10 @@ void cChicken::GetDrops(cItems & a_Drops, cEntity * a_Killer)
void cChicken::HandleFalling(void)
{
// empty - chickens don't take fall damage
}

View File

@ -21,6 +21,8 @@ public:
virtual const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_SEEDS); }
virtual void HandleFalling(void) override;
private:
int m_EggDropTimer;