Reset epic kill streak when switching fighters.

This commit is contained in:
Steve 2016-05-24 16:49:14 +01:00
parent 66263396d9
commit c9536ae938
1 changed files with 4 additions and 0 deletions

View File

@ -87,6 +87,10 @@ void initPlayer(void)
battle.ecmTimer = ECM_RECHARGE_TIME;
player->flags |= EF_NO_HEALTH_BAR;
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;
}
static void setPilotName(void)