Accuracy stat fix.

This commit is contained in:
Steve 2018-03-04 17:02:53 +00:00
parent 4c08307f18
commit 924978c2a0
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ void initStatsDisplay(void)
gameTotal = game.totalMissions + game.totalMIAs + game.totalTargets + game.totalKeys + game.totalHearts + game.totalCells;
game.stats[STAT_SHOT_ACCURACY] = getPercent(STAT_SHOTS_HIT, STAT_SHOTS_FIRED);
game.stats[STAT_SHOT_ACCURACY] = getPercent(game.stats[STAT_SHOTS_HIT], game.stats[STAT_SHOTS_FIRED]);
game.stats[STAT_PERCENT_COMPLETE] = getPercent(gameDone, gameTotal);
}