diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-24 15:44:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-24 15:44:24 +0300 |
commit | a5f9e965323ad4b211405736eda7557cbe6a013a (patch) | |
tree | 21409cd38f547c80637e7ebfa60fe435df7f7d87 /src/gui/skilldialog.cpp | |
parent | 66964dacb5c0d885fa3443a0e204d5838ae1443c (diff) | |
download | plus-a5f9e965323ad4b211405736eda7557cbe6a013a.tar.gz plus-a5f9e965323ad4b211405736eda7557cbe6a013a.tar.bz2 plus-a5f9e965323ad4b211405736eda7557cbe6a013a.tar.xz plus-a5f9e965323ad4b211405736eda7557cbe6a013a.zip |
Rename specialhandler to skillhandler.
Diffstat (limited to 'src/gui/skilldialog.cpp')
-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()); } } |