From 83459d0d899786378e8304c92a5b79ddca92c62f Mon Sep 17 00:00:00 2001 From: LogicParrot Date: Sun, 7 Feb 2016 19:07:14 +0200 Subject: Proper entity destruction in non-ticking chunks --- src/Mobs/PassiveMonster.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Mobs/PassiveMonster.h') diff --git a/src/Mobs/PassiveMonster.h b/src/Mobs/PassiveMonster.h index 1106ffb91..9a2627417 100644 --- a/src/Mobs/PassiveMonster.h +++ b/src/Mobs/PassiveMonster.h @@ -45,6 +45,8 @@ public: /** Returns whether the monster is tired of breeding and is in the cooldown state. */ bool IsInLoveCooldown() const { return (m_LoveCooldown > 0); } + virtual void Destroyed(void) override; + protected: /** The monster's breeding partner. */ cPassiveMonster * m_LovePartner; -- cgit v1.2.3