diff options
author | aap <aap@papnet.eu> | 2020-11-13 13:14:56 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-11-13 13:14:56 +0100 |
commit | 257f45c3c37530ec86bb4e5906d1cf5b6005cf38 (patch) | |
tree | 014b72e88afdb350d5f7dbd9e23debd07054fbec /src/core/Stats.cpp | |
parent | CPed review, part 1 (diff) | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
download | re3-257f45c3c37530ec86bb4e5906d1cf5b6005cf38.tar re3-257f45c3c37530ec86bb4e5906d1cf5b6005cf38.tar.gz re3-257f45c3c37530ec86bb4e5906d1cf5b6005cf38.tar.bz2 re3-257f45c3c37530ec86bb4e5906d1cf5b6005cf38.tar.lz re3-257f45c3c37530ec86bb4e5906d1cf5b6005cf38.tar.xz re3-257f45c3c37530ec86bb4e5906d1cf5b6005cf38.tar.zst re3-257f45c3c37530ec86bb4e5906d1cf5b6005cf38.zip |
Diffstat (limited to 'src/core/Stats.cpp')
-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; |