commit
b45e8a8bd9
@ -526,7 +526,10 @@ void cMonster::KilledBy(cEntity * a_Killer)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (a_Killer != NULL)
|
||||
{
|
||||
m_World->SpawnExperienceOrb(GetPosX(), GetPosY(), GetPosZ(), Reward);
|
||||
}
|
||||
m_DestroyTimer = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user