diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-08 21:59:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-09 00:27:32 +0300 |
commit | 89ea09f5d8ccbf65cf0a8f0abee667ff6cf431dc (patch) | |
tree | 293c927f776a83c484724453a9c0fee73168c960 | |
parent | ccc70b5bea8c59e316ed5d541c90ed4b78c4ea45 (diff) | |
download | plus-89ea09f5d8ccbf65cf0a8f0abee667ff6cf431dc.tar.gz plus-89ea09f5d8ccbf65cf0a8f0abee667ff6cf431dc.tar.bz2 plus-89ea09f5d8ccbf65cf0a8f0abee667ff6cf431dc.tar.xz plus-89ea09f5d8ccbf65cf0a8f0abee667ff6cf431dc.zip |
improve killstats window.
-rw-r--r-- | src/gui/killstats.cpp | 7 | ||||
-rw-r--r-- | src/gui/killstats.h | 5 |
2 files changed, 0 insertions, 12 deletions
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 @@ -62,11 +62,6 @@ class KillStats final : public Window, void recalcStats(); /** - * Draw this window - */ - void draw(gcn::Graphics *graphics) override; - - /** * Updates this dialog */ void update(); |