Merge pull request #2611 from Gargaj/chickenfall
Chickens shouldn't take fall damage [re-pull]
This commit is contained in:
commit
da20a8a09b
@ -61,6 +61,10 @@ void cChicken::GetDrops(cItems & a_Drops, cEntity * a_Killer)
|
||||
|
||||
|
||||
|
||||
void cChicken::HandleFalling(void)
|
||||
{
|
||||
// empty - chickens don't take fall damage
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user