summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/skilldialog.cpp')
-rw-r--r--src/gui/skilldialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp
index 8ed6b097..5e700387 100644
--- a/src/gui/skilldialog.cpp
+++ b/src/gui/skilldialog.cpp
@@ -38,7 +38,7 @@
#include "log.h"
#include "net/net.h"
-#include "net/skillhandler.h"
+#include "net/playerhandler.h"
#include "utils/dtor.h"
#include "utils/gettext.h"
@@ -112,7 +112,7 @@ void SkillDialog::action(const gcn::ActionEvent &event)
SkillEntry *disp = dynamic_cast<SkillEntry*>(event.getSource()->getParent());
if (disp)
- Net::getSkillHandler()->up(disp->mInfo->id);
+ Net::getPlayerHandler()->increaseSkill(disp->mInfo->id);
}
else if (event.getId() == "close")
{