chickens don't take fall damage
This commit is contained in:
parent
ff7f0afc5f
commit
5bcd4b271e
@ -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 const cItem GetFollowedItem(void) const override { return cItem(E_ITEM_SEEDS); }
|
||||||
|
|
||||||
|
virtual void HandleFalling(void) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
int m_EggDropTimer;
|
int m_EggDropTimer;
|
||||||
|
Loading…
Reference in New Issue
Block a user