diff options
Diffstat (limited to 'src/gui/killstats.cpp')
-rw-r--r-- | src/gui/killstats.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/killstats.cpp b/src/gui/killstats.cpp index e373153e6..1486fdd64 100644 --- a/src/gui/killstats.cpp +++ b/src/gui/killstats.cpp @@ -54,7 +54,7 @@ KillStats::KillStats(): setResizable(true); setDefaultSize(250, 250, 350, 300); - listen(CHANNEL_ATTRIBUTES); + listen(Mana::CHANNEL_ATTRIBUTES); int xp(PlayerInfo::getAttribute(EXP)); int xpNextLevel(PlayerInfo::getAttribute(EXP_NEEDED)); @@ -409,10 +409,10 @@ void KillStats::validateJacko() } } -void KillStats::event(Channels channel _UNUSED_, +void KillStats::event(Mana::Channels channel _UNUSED_, const Mana::Event &event) { - if (event.getName() == EVENT_UPDATEATTRIBUTE) + if (event.getName() == Mana::EVENT_UPDATEATTRIBUTE) { int id = event.getInt("id"); if (id == EXP || id == EXP_NEEDED) |