Update epic kill streak in post battle.
This commit is contained in:
parent
099152b820
commit
dca34036a7
|
@ -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);
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue