diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/killstats.cpp | 9 | ||||
-rw-r--r-- | src/gui/killstats.h | 1 |
2 files changed, 1 insertions, 9 deletions
diff --git a/src/gui/killstats.cpp b/src/gui/killstats.cpp index c1a858a79..f77c9a8f4 100644 --- a/src/gui/killstats.cpp +++ b/src/gui/killstats.cpp @@ -88,8 +88,7 @@ KillStats::KillStats(): mJackoId(0), mIsJackoAlive(false), mIsJackoMustSpawn(true), - mIsJackoSpawnTimeUnknown(true), - mUpdateTime(cur_time + 1) + mIsJackoSpawnTimeUnknown(true) { setWindowName("Kill stats"); setCloseButton(true); @@ -304,12 +303,6 @@ void KillStats::update() { BLOCK_START("KillStats::update") - const int time = cur_time; - if (mUpdateTime > time) - return; - - mUpdateTime = time + 1; - mExpSpeed1Label->setCaption(strprintf(ngettext("Exp speed per %d min: %s", "Exp speed per %d min: %s", 1), 1, toString(m1minSpeed).c_str())); diff --git a/src/gui/killstats.h b/src/gui/killstats.h index 69342721e..90191138b 100644 --- a/src/gui/killstats.h +++ b/src/gui/killstats.h @@ -131,7 +131,6 @@ class KillStats final : public Window, bool mIsJackoAlive; bool mIsJackoMustSpawn; bool mIsJackoSpawnTimeUnknown; - int mUpdateTime; }; extern KillStats *killStats; |