summaryrefslogtreecommitdiffstats
path: root/src/Mobs/PassiveAggressiveMonster.cpp
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2016-01-22 19:53:34 +0100
committerLogicParrot <LogicParrot@users.noreply.github.com>2016-01-22 19:53:34 +0100
commit30b95fcc4ec8465a8fb076fbb88ac6835a832a19 (patch)
tree44fa8a18db08ae8bb34d43efba9a800f47d135cd /src/Mobs/PassiveAggressiveMonster.cpp
parentMerge pull request #2901 from birkett/servicefix (diff)
parentSpiders now friendly at daylight, new cChunk functions (diff)
downloadcuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.tar
cuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.tar.gz
cuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.tar.bz2
cuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.tar.lz
cuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.tar.xz
cuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.tar.zst
cuberite-30b95fcc4ec8465a8fb076fbb88ac6835a832a19.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
}