Update epic kill streak in post battle.

This commit is contained in:
Steve 2016-04-28 17:20:34 +01:00
parent 099152b820
commit dca34036a7
2 changed files with 2 additions and 4 deletions

View File

@ -383,6 +383,8 @@ static void postBattle(void)
game.stats[i] += battle.stats[i];
}
}
game.stats[STAT_EPIC_KILL_STREAK] = MAX(game.stats[STAT_EPIC_KILL_STREAK], battle.stats[STAT_EPIC_KILL_STREAK]);
updateAccuracyStats(game.stats);

View File

@ -83,10 +83,6 @@ void initPlayer(void)
battle.boostTimer = BOOST_RECHARGE_TIME;
battle.ecmTimer = ECM_RECHARGE_TIME;
game.stats[STAT_EPIC_KILL_STREAK] = MAX(game.stats[STAT_EPIC_KILL_STREAK], battle.stats[STAT_EPIC_KILL_STREAK]);
battle.stats[STAT_EPIC_KILL_STREAK] = 0;
player->flags |= EF_NO_HEALTH_BAR;
}