Fixed size

This commit is contained in:
viktorljung
2016-02-12 05:45:17 +01:00
parent 60b2c9bc9b
commit f146971db0
+6
View File
@@ -70,5 +70,11 @@ bool KillFeedSystem::OnPlayerDeath(Events::PlayerDeath& e)
m_DeathQueue.push_back(kfInfo);
}
}
if(m_DeathQueue.size() > 3) {
m_DeathQueue.pop_front();
}
return true;
}