summaryrefslogtreecommitdiffstats
path: root/src/Mobs/AggressiveMonster.cpp
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-22 06:43:50 +0100
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-24 05:20:16 +0100
commitdfeced18b2397234340b94fe0ba61cc567c9cfc5 (patch)
treebc50fe2d4f011c05eedd389ab4924747d0085baf /src/Mobs/AggressiveMonster.cpp
parentMerge pull request #2811 from cuberite/isblockfence (diff)
downloadcuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.tar
cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.tar.gz
cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.tar.bz2
cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.tar.lz
cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.tar.xz
cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.tar.zst
cuberite-dfeced18b2397234340b94fe0ba61cc567c9cfc5.zip
Diffstat (limited to 'src/Mobs/AggressiveMonster.cpp')
-rw-r--r--src/Mobs/AggressiveMonster.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/AggressiveMonster.cpp b/src/Mobs/AggressiveMonster.cpp
index 309f6d985..56500309d 100644
--- a/src/Mobs/AggressiveMonster.cpp
+++ b/src/Mobs/AggressiveMonster.cpp
@@ -22,9 +22,9 @@ cAggressiveMonster::cAggressiveMonster(const AString & a_ConfigName, eMonsterTyp
// What to do if in Chasing State
-void cAggressiveMonster::InStateChasing(std::chrono::milliseconds a_Dt)
+void cAggressiveMonster::InStateChasing(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)
{
- super::InStateChasing(a_Dt);
+ super::InStateChasing(a_Dt, a_Chunk);
if (m_Target != nullptr)
{