summaryrefslogtreecommitdiffstats
path: root/src/Mobs/AggressiveMonster.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-24 09:25:50 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-24 09:25:50 +0200
commit4e5baf3f39c6972fb525b0d4aed58f59de3005bd (patch)
tree4bdf3c28f92ea2fdd469f0ec9c404df96fd6b78f /src/Mobs/AggressiveMonster.cpp
parentInitial Monster Behavior vector logic (diff)
downloadcuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar
cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.gz
cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.bz2
cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.lz
cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.xz
cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.tar.zst
cuberite-4e5baf3f39c6972fb525b0d4aed58f59de3005bd.zip
Diffstat (limited to '')
-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();*/
}