diff options
Diffstat (limited to '')
-rw-r--r-- | src/Mobs/Behaviors/BehaviorChaser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Mobs/Behaviors/BehaviorChaser.h b/src/Mobs/Behaviors/BehaviorChaser.h index a40be6aba..1c64c7b07 100644 --- a/src/Mobs/Behaviors/BehaviorChaser.h +++ b/src/Mobs/Behaviors/BehaviorChaser.h @@ -18,7 +18,7 @@ class cBehaviorChaser : public cBehavior public: cBehaviorChaser(); - void AttachToMonster(cMonster & a_Parent) override; + void AttachToMonster(cMonster & a_Parent, cBehaviorStriker & a_ParentStriker); // Functions our host Monster should invoke: bool IsControlDesired(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; @@ -44,6 +44,7 @@ private: /** Our parent */ cMonster * m_Parent; + cBehaviorStriker * m_ParentStriker; // The mob we want to attack cPawn * m_Target; |