summaryrefslogtreecommitdiffstats
path: root/src/core/Stats.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-08-16 17:39:11 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-08-16 17:39:11 +0200
commitd303c33c2e03edc4c4980a06afe81004f1ae430f (patch)
tree929e6c782ffc7f34f050e42200b5dbdede661269 /src/core/Stats.cpp
parentsync with upstream (diff)
downloadre3-d303c33c2e03edc4c4980a06afe81004f1ae430f.tar
re3-d303c33c2e03edc4c4980a06afe81004f1ae430f.tar.gz
re3-d303c33c2e03edc4c4980a06afe81004f1ae430f.tar.bz2
re3-d303c33c2e03edc4c4980a06afe81004f1ae430f.tar.lz
re3-d303c33c2e03edc4c4980a06afe81004f1ae430f.tar.xz
re3-d303c33c2e03edc4c4980a06afe81004f1ae430f.tar.zst
re3-d303c33c2e03edc4c4980a06afe81004f1ae430f.zip
Diffstat (limited to '')
-rw-r--r--src/core/Stats.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/Stats.cpp b/src/core/Stats.cpp
index d5c08e4f..1efcee01 100644
--- a/src/core/Stats.cpp
+++ b/src/core/Stats.cpp
@@ -143,7 +143,9 @@ void CStats::Init()
DistanceTravelledByBoat = 0;
DistanceTravelledByGolfCart = 0;
DistanceTravelledByHelicoptor = 0;
- DistanceTravelledByPlane = 0; // FIX: Wasn't initialized
+#ifdef FIX_BUGS
+ DistanceTravelledByPlane = 0;
+#endif
LivesSavedWithAmbulance = 0;
CriminalsCaught = 0;
HighestLevelVigilanteMission = 0;