diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-15 12:53:42 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-02-15 12:53:42 +0100 |
commit | 043efaf082a8ce5010e6ff974afea05d8d66e9d1 (patch) | |
tree | 40115f81c6a4b4756743a36485eacd4b7a5607b9 /src/core/Stats.cpp | |
parent | Merge branch 'master' of https://github.com/Nick007J/re3 (diff) | |
download | re3-043efaf082a8ce5010e6ff974afea05d8d66e9d1.tar re3-043efaf082a8ce5010e6ff974afea05d8d66e9d1.tar.gz re3-043efaf082a8ce5010e6ff974afea05d8d66e9d1.tar.bz2 re3-043efaf082a8ce5010e6ff974afea05d8d66e9d1.tar.lz re3-043efaf082a8ce5010e6ff974afea05d8d66e9d1.tar.xz re3-043efaf082a8ce5010e6ff974afea05d8d66e9d1.tar.zst re3-043efaf082a8ce5010e6ff974afea05d8d66e9d1.zip |
Diffstat (limited to 'src/core/Stats.cpp')
-rw-r--r-- | src/core/Stats.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/Stats.cpp b/src/core/Stats.cpp index c1259f82..cd5bee06 100644 --- a/src/core/Stats.cpp +++ b/src/core/Stats.cpp @@ -32,8 +32,14 @@ int32 &CStats::MissionsGiven = *(int32*)0x9430E8; int32 &CStats::MissionsPassed = *(int32*)0x940768; char(&CStats::LastMissionPassedName)[8] = *(char(*)[8])*(uintptr*)0x70D828; int32 &CStats::TotalLegitimateKills = *(int32*)0x8F6004; +int32 &CStats::ElBurroTime = *(int32*)0x8E2A6C; void CStats::AnotherKillFrenzyPassed() { ++NumberKillFrenziesPassed; } + +void CStats::RegisterElBurroTime(int32 time) +{ + ElBurroTime = (ElBurroTime && ElBurroTime < time) ? ElBurroTime : time; +} |