summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-12 11:00:40 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-12 11:00:40 +0100
commit78718700f9666d7677da9e40349c1a3e8e978649 (patch)
treee8219cf9354a0331663f83d470c5961bbdb2bb69 /src
parentMerge pull request #868 from erorcun/miami (diff)
downloadre3-78718700f9666d7677da9e40349c1a3e8e978649.tar
re3-78718700f9666d7677da9e40349c1a3e8e978649.tar.gz
re3-78718700f9666d7677da9e40349c1a3e8e978649.tar.bz2
re3-78718700f9666d7677da9e40349c1a3e8e978649.tar.lz
re3-78718700f9666d7677da9e40349c1a3e8e978649.tar.xz
re3-78718700f9666d7677da9e40349c1a3e8e978649.tar.zst
re3-78718700f9666d7677da9e40349c1a3e8e978649.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/Stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Stats.cpp b/src/core/Stats.cpp
index bd2351de..8d61c484 100644
--- a/src/core/Stats.cpp
+++ b/src/core/Stats.cpp
@@ -1007,7 +1007,7 @@ CStats::ConstructStatLine(int rowIdx)
// What a random stat...
if (lastProcessedDay != DaysPassed) {
lastProcessedDay = DaysPassed;
- lastPoliceSpending = (CTimer::GetTimeInMilliseconds() + 80) * 255.44f;
+ lastPoliceSpending = (CTimer::GetTimeInMilliseconds() & 255 + 80) * 255.44f;
}
STAT_LINE_1(float, "DAYPLC", lastPoliceSpending, 3);