summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-08 21:59:01 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-09 00:27:32 +0300
commit89ea09f5d8ccbf65cf0a8f0abee667ff6cf431dc (patch)
tree293c927f776a83c484724453a9c0fee73168c960
parentccc70b5bea8c59e316ed5d541c90ed4b78c4ea45 (diff)
downloadmanaplus-89ea09f5d8ccbf65cf0a8f0abee667ff6cf431dc.tar.gz
manaplus-89ea09f5d8ccbf65cf0a8f0abee667ff6cf431dc.tar.bz2
manaplus-89ea09f5d8ccbf65cf0a8f0abee667ff6cf431dc.tar.xz
manaplus-89ea09f5d8ccbf65cf0a8f0abee667ff6cf431dc.zip
improve killstats window.
-rw-r--r--src/gui/killstats.cpp7
-rw-r--r--src/gui/killstats.h5
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();