diff options
author | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-29 19:41:42 +0200 |
---|---|---|
committer | LogicParrot <LogicParrot@users.noreply.github.com> | 2017-08-29 19:41:42 +0200 |
commit | b0696ca6217bdcc72c22ae11f8993d3d36f1c129 (patch) | |
tree | 7be48a4c5d9a81b1a9da49ac98d9bb5d181541fa /src/Mobs/AggressiveMonster.cpp | |
parent | Implemented sheep, mooshroom, rabbit, chicken, pig, villager (diff) | |
download | cuberite-b0696ca6217bdcc72c22ae11f8993d3d36f1c129.tar cuberite-b0696ca6217bdcc72c22ae11f8993d3d36f1c129.tar.gz cuberite-b0696ca6217bdcc72c22ae11f8993d3d36f1c129.tar.bz2 cuberite-b0696ca6217bdcc72c22ae11f8993d3d36f1c129.tar.lz cuberite-b0696ca6217bdcc72c22ae11f8993d3d36f1c129.tar.xz cuberite-b0696ca6217bdcc72c22ae11f8993d3d36f1c129.tar.zst cuberite-b0696ca6217bdcc72c22ae11f8993d3d36f1c129.zip |
Diffstat (limited to 'src/Mobs/AggressiveMonster.cpp')
-rw-r--r-- | src/Mobs/AggressiveMonster.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/Mobs/AggressiveMonster.cpp b/src/Mobs/AggressiveMonster.cpp index 0e6911305..f06412e49 100644 --- a/src/Mobs/AggressiveMonster.cpp +++ b/src/Mobs/AggressiveMonster.cpp @@ -27,25 +27,4 @@ cAggressiveMonster::cAggressiveMonster(const AString & a_ConfigName, eMonsterTyp void cAggressiveMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) { super::Tick(a_Dt, a_Chunk); - - /* cBehaviorChaser * BehaviorChaser = GetBehaviorChaser(); - cBehaviorWanderer * BehaviorWanderer = GetBehaviorWanderer(); - - for (;;) - { - m_BehaviorAggressive.Tick(); - if (BehaviorChaser->Tick()) - { - break; - } - if ((BehaviorWanderer != nullptr) && BehaviorWanderer->ActiveTick(a_Dt, a_Chunk)) - { - break; - } - - ASSERT(!"Not a single Behavior took control, this is not normal. "); - break; - } - - BehaviorChaser->Tick();*/ } |