EEntityDeleted now provides an EntityWrapper instead of just an ID

This commit is contained in:
2016-03-09 23:47:42 +01:00
parent 91bad517d3
commit f6113b9d9c
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ void PlayerDeathSystem::createDeathEffect(EntityWrapper player)
bool PlayerDeathSystem::OnEntityDeleted(Events::EntityDeleted& e)
{
// We only care about when the local players death effect is removed.
if (m_LocalPlayerDeathEffect.ID != e.DeletedEntity) {
if (m_LocalPlayerDeathEffect != e.DeletedEntity) {
return false;
}