cMonster::m_Target safety across worlds

This commit is contained in:
LogicParrot
2016-02-03 22:50:17 +02:00
parent a5403c8976
commit 4aade202e0
17 changed files with 294 additions and 83 deletions
+1 -1
View File
@@ -104,7 +104,7 @@ void cEnderman::GetDrops(cItems & a_Drops, cEntity * a_Killer)
void cEnderman::CheckEventSeePlayer(cChunk & a_Chunk)
{
if (m_Target != nullptr)
if (GetTarget() != nullptr)
{
return;
}