diff options
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r-- | src/Mobs/Monster.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h index 11737b5bf..652b0a49f 100644 --- a/src/Mobs/Monster.h +++ b/src/Mobs/Monster.h @@ -329,11 +329,14 @@ private: /** Leash calculations inside Tick function */ void CalcLeashActions(); + std::vector<cBehavior*> PreTickBehaviors; std::vector<cBehavior*> TickBehaviors; + std::vector<cBehavior*> PostTickBehaviors; std::vector<cBehavior*> OnDestroyBehaviors; std::vector<cBehavior*> OnRightClickBehaviors; cBehavior * m_CurrentTickControllingBehavior; - enum TickState{ControlStarting, ControlEnding, Normal} m_TickControllingBehaviorState; + cBehavior * m_NewTickControllingBehavior; + enum TickState{NewControlStarting, OldControlEnding, Normal} m_TickControllingBehaviorState; } ; // tolua_export |