diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2020-07-03 00:04:49 +0200 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2020-07-03 00:04:49 +0200 |
commit | bf2624692c6b04c25275ddb35b7da1cf1e6a9953 (patch) | |
tree | 39ea38695c16945b4c048e79c67f6ab4d2bc30b9 /src | |
parent | Disable VC_PED_PORTS, better cancellable car enter, weapon and cops fixes (diff) | |
download | re3-bf2624692c6b04c25275ddb35b7da1cf1e6a9953.tar re3-bf2624692c6b04c25275ddb35b7da1cf1e6a9953.tar.gz re3-bf2624692c6b04c25275ddb35b7da1cf1e6a9953.tar.bz2 re3-bf2624692c6b04c25275ddb35b7da1cf1e6a9953.tar.lz re3-bf2624692c6b04c25275ddb35b7da1cf1e6a9953.tar.xz re3-bf2624692c6b04c25275ddb35b7da1cf1e6a9953.tar.zst re3-bf2624692c6b04c25275ddb35b7da1cf1e6a9953.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/Stats.cpp | 4 | ||||
-rw-r--r-- | src/core/Stats.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/Stats.cpp b/src/core/Stats.cpp index 99274e04..9afd8ac3 100644 --- a/src/core/Stats.cpp +++ b/src/core/Stats.cpp @@ -16,8 +16,8 @@ int32 CStats::PedsKilledOfThisType[NUM_PEDTYPES]; int32 CStats::TimesDied; int32 CStats::TimesArrested; int32 CStats::KillsSinceLastCheckpoint; -int32 CStats::DistanceTravelledInVehicle; -int32 CStats::DistanceTravelledOnFoot; +float CStats::DistanceTravelledInVehicle; +float CStats::DistanceTravelledOnFoot; int32 CStats::ProgressMade; int32 CStats::TotalProgressInGame; int32 CStats::CarsExploded; diff --git a/src/core/Stats.h b/src/core/Stats.h index ae3c0cb4..5dfcf803 100644 --- a/src/core/Stats.h +++ b/src/core/Stats.h @@ -21,8 +21,8 @@ public: static int32 TimesDied; static int32 TimesArrested; static int32 KillsSinceLastCheckpoint; - static int32 DistanceTravelledInVehicle; - static int32 DistanceTravelledOnFoot; + static float DistanceTravelledInVehicle; + static float DistanceTravelledOnFoot; static int32 CarsExploded; static int32 PeopleKilledByPlayer; static int32 ProgressMade; |