summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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();