summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-07-11 00:30:26 +0200
committerwithmorten <morten.with@gmail.com>2021-07-11 00:30:26 +0200
commit8a114514d9ea61815c2d391bc5edaa69d1648bfe (patch)
tree9b2e722fdba1acf8d7f3f22d2c4064b4cb048e1d /src/core
parentPhysical: division by zero fix (diff)
downloadre3-8a114514d9ea61815c2d391bc5edaa69d1648bfe.tar
re3-8a114514d9ea61815c2d391bc5edaa69d1648bfe.tar.gz
re3-8a114514d9ea61815c2d391bc5edaa69d1648bfe.tar.bz2
re3-8a114514d9ea61815c2d391bc5edaa69d1648bfe.tar.lz
re3-8a114514d9ea61815c2d391bc5edaa69d1648bfe.tar.xz
re3-8a114514d9ea61815c2d391bc5edaa69d1648bfe.tar.zst
re3-8a114514d9ea61815c2d391bc5edaa69d1648bfe.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/Stats.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Stats.cpp b/src/core/Stats.cpp
index 7ada0da9..8c6137f2 100644
--- a/src/core/Stats.cpp
+++ b/src/core/Stats.cpp
@@ -1229,7 +1229,11 @@ CStats::ConstructStatLine(int rowIdx)
FASTEST_TIME(20, "STFT_21");
if (FastestTimes[21])
+#ifdef FIX_BUGS
+ STAT_LINE_1(float, "STFT_22", Floor(FastestTimes[21] / 10) / 100, 1);
+#else
STAT_LINE_1(float, "STFT_22", FastestTimes[21] / 1000, 1);
+#endif
if (TopShootingRangeScore > 0.0f)
STAT_LINE_1(int, "TOP_SHO", TopShootingRangeScore, 0);