quick fix

This commit is contained in:
Nikolay Korolev 2020-12-12 13:00:40 +03:00
parent 4f3be49728
commit 78718700f9

View File

@ -1007,7 +1007,7 @@ CStats::ConstructStatLine(int rowIdx)
// What a random stat... // What a random stat...
if (lastProcessedDay != DaysPassed) { if (lastProcessedDay != DaysPassed) {
lastProcessedDay = DaysPassed; lastProcessedDay = DaysPassed;
lastPoliceSpending = (CTimer::GetTimeInMilliseconds() + 80) * 255.44f; lastPoliceSpending = (CTimer::GetTimeInMilliseconds() & 255 + 80) * 255.44f;
} }
STAT_LINE_1(float, "DAYPLC", lastPoliceSpending, 3); STAT_LINE_1(float, "DAYPLC", lastPoliceSpending, 3);