summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-03-28 18:52:25 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-03-28 18:52:25 +0100
commit775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5 (patch)
tree2832a470b7f2983228875da09ff9ebbf8b944735 /src/core
parentMerge branch 'master' into garages_dev (diff)
downloadre3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar
re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.gz
re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.bz2
re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.lz
re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.xz
re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.tar.zst
re3-775bc3e666a1a61d156b5f13ec94b2ad63b8b6e5.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Stats.cpp1
-rw-r--r--src/core/Stats.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Stats.cpp b/src/core/Stats.cpp
index 2a3f06b3..9478479b 100644
--- a/src/core/Stats.cpp
+++ b/src/core/Stats.cpp
@@ -49,6 +49,7 @@ int32& CStats::TimeTakenDefuseMission = *(int32*)0x880E24;
int32& CStats::TotalNumberKillFrenzies = *(int32*)0x8E2884;
int32& CStats::TotalNumberMissions = *(int32*)0x8E2820;
int32& CStats::KgOfExplosivesUsed = *(int32*)0x8F2510;
+int32& CStats::CarsCrushed = *(int32*)0x943050;
int32(&CStats::FastestTimes)[CStats::TOTAL_FASTEST_TIMES] = *(int32(*)[CStats::TOTAL_FASTEST_TIMES])*(uintptr*)0x6E9128;
int32(&CStats::HighestScores)[CStats::TOTAL_HIGHEST_SCORES] = *(int32(*)[CStats::TOTAL_HIGHEST_SCORES]) * (uintptr*)0x8622B0;
diff --git a/src/core/Stats.h b/src/core/Stats.h
index f6ff8187..1d220905 100644
--- a/src/core/Stats.h
+++ b/src/core/Stats.h
@@ -54,6 +54,7 @@ public:
static int32(&FastestTimes)[TOTAL_FASTEST_TIMES];
static int32(&HighestScores)[TOTAL_HIGHEST_SCORES];
static int32 &KgOfExplosivesUsed;
+ static int32 &CarsCrushed;
public:
static void RegisterFastestTime(int32, int32);