diff options
Diffstat (limited to 'src/Mobs/PassiveAggressiveMonster.cpp')
-rw-r--r-- | src/Mobs/PassiveAggressiveMonster.cpp | 4 |
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 } |