summaryrefslogtreecommitdiffstats
path: root/src/Mobs/PassiveMonster.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-23 18:08:48 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-23 18:08:48 +0200
commit978663b725dd2a7b756b4fcecf0453e42ce16b79 (patch)
tree9d8bdac1a21de5f8bbb9b2142832516d2c04f816 /src/Mobs/PassiveMonster.cpp
parentd (diff)
downloadcuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.tar
cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.tar.gz
cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.tar.bz2
cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.tar.lz
cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.tar.xz
cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.tar.zst
cuberite-978663b725dd2a7b756b4fcecf0453e42ce16b79.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/PassiveMonster.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/PassiveMonster.cpp b/src/Mobs/PassiveMonster.cpp
index 5eded6b6f..c5dab6d80 100644
--- a/src/Mobs/PassiveMonster.cpp
+++ b/src/Mobs/PassiveMonster.cpp
@@ -78,7 +78,7 @@ void cPassiveMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
{
break;
}
- if (m_BehaviorBreeder.ActiveTick())
+ if (m_BehaviorBreeder.Tick())
{
break;
}
@@ -95,7 +95,7 @@ void cPassiveMonster::Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
break;
}
- m_BehaviorBreeder.Tick();
+ m_BehaviorBreeder.PostTick();
}