Misc TestBranch testing

This commit is contained in:
verysecrethero
2016-02-22 17:46:49 +01:00
parent bac23f6e8c
commit 041c409128
10 changed files with 54 additions and 8 deletions
+5
View File
@@ -54,9 +54,13 @@ void KillFeedSystem::Update(double dt)
bool KillFeedSystem::OnPlayerDeath(Events::PlayerDeath& e)
{
LOG_INFO("<- killfeed death");
KillFeedInfo kfInfo;
if (e.Player.HasComponent("Team")) {
LOG_INFO("- killfeed death");
int red = e.Player["Team"].Enum("Team", "Red");
int blue = e.Player["Team"].Enum("Team", "Blue");
@@ -70,6 +74,7 @@ bool KillFeedSystem::OnPlayerDeath(Events::PlayerDeath& e)
m_DeathQueue.push_back(kfInfo);
}
}
LOG_INFO("-> killfeed death");
if(m_DeathQueue.size() > 3) {