From 78718700f9666d7677da9e40349c1a3e8e978649 Mon Sep 17 00:00:00 2001 From: Nikolay Korolev Date: Sat, 12 Dec 2020 13:00:40 +0300 Subject: quick fix --- src/core/Stats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3