summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorWanderer.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-24 22:21:25 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-24 22:21:25 +0200
commit810230b5466f1363d69763670fc9b85fa385c99a (patch)
treea9d4dcfd43ac28ef2fb9e61e73a34f7246a695bb /src/Mobs/Behaviors/BehaviorWanderer.cpp
parentMerge branch 'master' into mobs2 (diff)
downloadcuberite-810230b5466f1363d69763670fc9b85fa385c99a.tar
cuberite-810230b5466f1363d69763670fc9b85fa385c99a.tar.gz
cuberite-810230b5466f1363d69763670fc9b85fa385c99a.tar.bz2
cuberite-810230b5466f1363d69763670fc9b85fa385c99a.tar.lz
cuberite-810230b5466f1363d69763670fc9b85fa385c99a.tar.xz
cuberite-810230b5466f1363d69763670fc9b85fa385c99a.tar.zst
cuberite-810230b5466f1363d69763670fc9b85fa385c99a.zip
Diffstat (limited to 'src/Mobs/Behaviors/BehaviorWanderer.cpp')
-rw-r--r--src/Mobs/Behaviors/BehaviorWanderer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Mobs/Behaviors/BehaviorWanderer.cpp b/src/Mobs/Behaviors/BehaviorWanderer.cpp
index 44dda077b..39fde8373 100644
--- a/src/Mobs/Behaviors/BehaviorWanderer.cpp
+++ b/src/Mobs/Behaviors/BehaviorWanderer.cpp
@@ -15,6 +15,7 @@ cBehaviorWanderer::cBehaviorWanderer() : m_IdleInterval(0)
void cBehaviorWanderer::AttachToMonster(cMonster & a_Parent)
{
+ LOGD("mobDebug - Behavior Wanderer: Attach");
m_Parent = &a_Parent;
m_Parent->AttachTickBehavior(this);
}
@@ -38,6 +39,7 @@ bool cBehaviorWanderer::IsControlDesired(std::chrono::milliseconds a_Dt, cChunk
void cBehaviorWanderer::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
{
+ LOGD("mobDebug - Behavior Wanderer: Tick");
if (m_Parent->IsPathFinderActivated())
{
return; // Still getting there