summaryrefslogtreecommitdiff
path: root/src/core/Stats.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-12-12 13:00:40 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-12-12 13:00:40 +0300
commit78718700f9666d7677da9e40349c1a3e8e978649 (patch)
treee8219cf9354a0331663f83d470c5961bbdb2bb69 /src/core/Stats.cpp
parent4f3be4972854faa6baa6e79833398f58bba611ec (diff)
quick fix
Diffstat (limited to 'src/core/Stats.cpp')
-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);