diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/skilldialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp index ee248562a..11b11ba8e 100644 --- a/src/gui/skilldialog.cpp +++ b/src/gui/skilldialog.cpp @@ -41,7 +41,7 @@ #include "net/net.h" #include "net/playerhandler.h" -#include "net/specialhandler.h" +#include "net/skillhandler.h" #include "resources/image.h" #include "resources/resourcemanager.h" @@ -345,7 +345,7 @@ void SkillDialog::action(const gcn::ActionEvent &event) const Being *const being = player_node->getTarget(); if (being) { - Net::getSpecialHandler()->useBeing(info->level, + Net::getSkillHandler()->useBeing(info->level, info->id, being->getId()); } } @@ -627,7 +627,7 @@ void SkillDialog::useItem(const int itemId) const Being *const being = player_node->getTarget(); if (being) { - Net::getSpecialHandler()->useBeing(info->level, + Net::getSkillHandler()->useBeing(info->level, info->id, being->getId()); } } |