diff options
Diffstat (limited to '')
-rw-r--r-- | src/core/Stats.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/Stats.cpp b/src/core/Stats.cpp index 373c295d..e078e6d0 100644 --- a/src/core/Stats.cpp +++ b/src/core/Stats.cpp @@ -192,13 +192,18 @@ void CStats::Init() KillsSinceLastCheckpoint = 0; TotalLegitimateKills = 0; + + for (int i = 0; i < ARRAY_SIZE(LastMissionPassedName); i++) + LastMissionPassedName[i] = 0; + IndustrialPassed = 0; CommercialPassed = 0; SuburbanPassed = 0; PamphletMissionPassed = 0; NoMoreHurricanes = 0; ShowChaseStatOnScreen = 0; - abSonyCDs[0] = 0; + for (int i = 0; i < ARRAY_SIZE(abSonyCDs); i++) + abSonyCDs[i] = 0; PopulateFavoriteRadioStationList(); NumPropertyOwned = 0; |