From 89ea09f5d8ccbf65cf0a8f0abee667ff6cf431dc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 8 May 2013 21:59:01 +0300 Subject: improve killstats window. --- src/gui/killstats.cpp | 7 ------- src/gui/killstats.h | 5 ----- 2 files changed, 12 deletions(-) (limited to 'src') diff --git a/src/gui/killstats.cpp b/src/gui/killstats.cpp index 52a548a6a..6d204ab91 100644 --- a/src/gui/killstats.cpp +++ b/src/gui/killstats.cpp @@ -398,12 +398,6 @@ void KillStats::update() updateJackoLabel(); BLOCK_END("KillStats::update") } -void KillStats::draw(gcn::Graphics *g) -{ -// update(); - - Window::draw(g); -} void KillStats::updateJackoLabel() { @@ -501,7 +495,6 @@ void KillStats::processEvent(Channels channel A_UNUSED, if (id == PlayerInfo::EXP || id == PlayerInfo::EXP_NEEDED) { gainXp(event.getInt("newValue") - event.getInt("oldValue")); -// update(); } else if (id == PlayerInfo::LEVEL) { diff --git a/src/gui/killstats.h b/src/gui/killstats.h index 90191138b..f2aa19e81 100644 --- a/src/gui/killstats.h +++ b/src/gui/killstats.h @@ -61,11 +61,6 @@ class KillStats final : public Window, */ void recalcStats(); - /** - * Draw this window - */ - void draw(gcn::Graphics *graphics) override; - /** * Updates this dialog */ -- cgit v1.2.3-70-g09d2