summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index bb0c087d5..3225bac8d 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -139,7 +139,7 @@ LocalPlayer::LocalPlayer(int id, int subtype):
mAttackRange = 0;
- listen(Mana::CHANNEL_ATTRIBUTES);
+ listen(CHANNEL_ATTRIBUTES);
mLevel = 1;
mAdvanced = true;
@@ -1664,12 +1664,12 @@ void LocalPlayer::optionChanged(const std::string &value)
mTargetOnlyReachable = config.getBoolValue("targetOnlyReachable");
}
-void LocalPlayer::processEvent(Mana::Channels channel,
- const Mana::Event &event)
+void LocalPlayer::processEvent(Channels channel,
+ const Event &event)
{
- if (channel == Mana::CHANNEL_ATTRIBUTES)
+ if (channel == CHANNEL_ATTRIBUTES)
{
- if (event.getName() == Mana::EVENT_UPDATEATTRIBUTE)
+ if (event.getName() == EVENT_UPDATEATTRIBUTE)
{
switch (event.getInt("id"))
{
@@ -1692,7 +1692,7 @@ void LocalPlayer::processEvent(Mana::Channels channel,
break;
};
}
- else if (event.getName() == Mana::EVENT_UPDATESTAT)
+ else if (event.getName() == EVENT_UPDATESTAT)
{
if (!mShowJobExp)
return;