diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-11-13 11:19:54 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-11-13 11:19:54 +0100 |
commit | 2e915780aa7be1570e2ee018daae8c97cbc3290e (patch) | |
tree | 4b9f431d0f9bdff09abed3cb87390ed88f8511c4 /src/core/Stats.cpp | |
parent | Merge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff) | |
download | re3-2e915780aa7be1570e2ee018daae8c97cbc3290e.tar re3-2e915780aa7be1570e2ee018daae8c97cbc3290e.tar.gz re3-2e915780aa7be1570e2ee018daae8c97cbc3290e.tar.bz2 re3-2e915780aa7be1570e2ee018daae8c97cbc3290e.tar.lz re3-2e915780aa7be1570e2ee018daae8c97cbc3290e.tar.xz re3-2e915780aa7be1570e2ee018daae8c97cbc3290e.tar.zst re3-2e915780aa7be1570e2ee018daae8c97cbc3290e.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; |