summaryrefslogtreecommitdiffstats
path: root/src/Mobs/AggressiveMonster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Mobs/AggressiveMonster.cpp')
-rw-r--r--src/Mobs/AggressiveMonster.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Mobs/AggressiveMonster.cpp b/src/Mobs/AggressiveMonster.cpp
index 7d44e36b9..9d9532573 100644
--- a/src/Mobs/AggressiveMonster.cpp
+++ b/src/Mobs/AggressiveMonster.cpp
@@ -28,16 +28,16 @@ void cAggressiveMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
{
super::Tick(a_Dt, a_Chunk);
- cBehaviorChaser * BehaviorChaser = GetBehaviorChaser();
+ /* cBehaviorChaser * BehaviorChaser = GetBehaviorChaser();
cBehaviorWanderer * BehaviorWanderer = GetBehaviorWanderer();
for (;;)
{
m_BehaviorAggressive.Tick();
- /*if (BehaviorChaser->Tick())
+ if (BehaviorChaser->Tick())
{
break;
- }*/
+ }
if ((BehaviorWanderer != nullptr) && BehaviorWanderer->ActiveTick(a_Dt, a_Chunk))
{
break;
@@ -47,5 +47,5 @@ void cAggressiveMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
break;
}
- BehaviorChaser->Tick();
+ BehaviorChaser->Tick();*/
}