Spiders now friendly at daylight, new cChunk functions
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user