diff options
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r-- | src/Mobs/Monster.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index edd0a96c3..aeb8a3bf9 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -117,7 +117,7 @@ public: virtual bool IsUndead(void); virtual void EventLosePlayer(void); - virtual void CheckEventLostPlayer(void); + virtual void CheckEventLostPlayer(std::chrono::milliseconds a_Dt); virtual void InStateIdle (std::chrono::milliseconds a_Dt, cChunk & a_Chunk); virtual void InStateChasing (std::chrono::milliseconds a_Dt, cChunk & a_Chunk); @@ -313,6 +313,7 @@ protected: double m_AttackRange; int m_AttackCoolDownTicksLeft; int m_SightDistance; + std::chrono::milliseconds m_LoseSightAbandonTargetTimer; float m_DropChanceWeapon; float m_DropChanceHelmet; |