added support for bot's pings in scoreboard

controlled via yb_latency_display = 2

thanks to podbotmm project
This commit is contained in:
jeefo 2014-08-01 22:28:45 +04:00
commit 8da986cf37
7 changed files with 203 additions and 42 deletions

View file

@ -274,6 +274,8 @@ void NetworkMsg::Execute (void *p)
break;
case 2:
g_botManager->SetDeathMsgState (true);
if (killerIndex != 0 && killerIndex != victimIndex)
{
edict_t *killer = INDEXENT (killerIndex);