Completed the code to trigger the 3rd person camera on death. Cleaned up PlayerDeathSystem. Fixed HealthSystemTest. Removed the test for PlayerDeathSystem

This commit is contained in:
verysecrethero
2016-01-28 11:43:38 +01:00
parent 7497ff39d2
commit df05f1909b
4 changed files with 52 additions and 181 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ bool HealthSystem::OnPlayerDamaged(Events::PlayerDamage& e)
ePlayerDeath.PlayerID = e.Player.ID;
ePlayerDeath.Player = e.Player;
m_EventBroker->Publish(ePlayerDeath);
//m_World->DeleteEntity(e.Player.ID);
//Note: we will delete the entity in PlayerDeathSystem
}
return true;