From 48f6526192e96ab8dce221cf3efb980aa9e58583 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 8 Sep 2018 09:52:58 +0300 Subject: Fix possible issue in kill stats window if get too many exp at same time. --- src/gui/windows/killstats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gui/windows/killstats.cpp b/src/gui/windows/killstats.cpp index bcedd8fab..e448d7470 100644 --- a/src/gui/windows/killstats.cpp +++ b/src/gui/windows/killstats.cpp @@ -240,7 +240,7 @@ void KillStats::gainXp(int64_t xp) double timeDiff = difftime(cur_time, mKillTimer) / 60; - if (timeDiff <= 0.001) + if (timeDiff <= 0.01) timeDiff = 1; const int64_t exp = PlayerInfo::getAttribute64(Attributes::PLAYER_EXP); -- cgit v1.2.3-60-g2f50