1
0

Merge pull request #2611 from Gargaj/chickenfall

Chickens shouldn't take fall damage [re-pull]
This commit is contained in:
Julian Laubstein 2015-11-06 11:26:58 +01:00
commit da20a8a09b
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 const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_SEEDS); }
virtual void HandleFalling(void) override;
private: private:
int m_EggDropTimer; int m_EggDropTimer;