summaryrefslogtreecommitdiffstats
path: root/src/Mobs/PassiveAggressiveMonster.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-01-17 15:09:25 +0100
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-01-21 07:21:29 +0100
commitd344e574de0f2ac3786f05db0167c1e71e135673 (patch)
tree62915feebc023c51a43711c46a4cc5d8d05b0005 /src/Mobs/PassiveAggressiveMonster.cpp
parentMerge pull request #2884 from LogicParrot/sort (diff)
downloadcuberite-d344e574de0f2ac3786f05db0167c1e71e135673.tar
cuberite-d344e574de0f2ac3786f05db0167c1e71e135673.tar.gz
cuberite-d344e574de0f2ac3786f05db0167c1e71e135673.tar.bz2
cuberite-d344e574de0f2ac3786f05db0167c1e71e135673.tar.lz
cuberite-d344e574de0f2ac3786f05db0167c1e71e135673.tar.xz
cuberite-d344e574de0f2ac3786f05db0167c1e71e135673.tar.zst
cuberite-d344e574de0f2ac3786f05db0167c1e71e135673.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/PassiveAggressiveMonster.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Mobs/PassiveAggressiveMonster.cpp b/src/Mobs/PassiveAggressiveMonster.cpp
index e0abd94a5..71ac7bd89 100644
--- a/src/Mobs/PassiveAggressiveMonster.cpp
+++ b/src/Mobs/PassiveAggressiveMonster.cpp
@@ -25,7 +25,7 @@ bool cPassiveAggressiveMonster::DoTakeDamage(TakeDamageInfo & a_TDI)
{
return false;
}
-
+
if ((m_Target != nullptr) && (m_Target->IsPlayer()))
{
if (!static_cast<cPlayer *>(m_Target)->IsGameModeCreative())
@@ -39,7 +39,7 @@ bool cPassiveAggressiveMonster::DoTakeDamage(TakeDamageInfo & a_TDI)
-void cPassiveAggressiveMonster::EventSeePlayer(cEntity *)
+void cPassiveAggressiveMonster::EventSeePlayer(cEntity *, cChunk & a_Chunk)
{
// don't do anything, neutral mobs don't react to just seeing the player
}