hud flagscore fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7315 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -116,6 +116,10 @@ void teamflagscores(int &team1, int &team2)
|
||||
{
|
||||
teamscores[team_base(players[i]->team)].addplayer(players[i]);
|
||||
}
|
||||
loopv(discscores) if(discscores[i].team != TEAM_SPECT)
|
||||
{
|
||||
teamscores[team_base(discscores[i].team)].addscore(discscores[i]);
|
||||
}
|
||||
if(!watchingdemo) teamscores[team_base(player1->team)].addplayer(player1);
|
||||
team1 = teamscores[0].flagscore;
|
||||
team2 = teamscores[1].flagscore;
|
||||
|
||||
Reference in New Issue
Block a user