summaryrefslogtreecommitdiff
path: root/src/net/tmwa/specialhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-29 15:41:25 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-29 15:41:25 +0300
commite18e3bdf005824b5875bda74053c116b6c4c059f (patch)
tree876cba874c231b79e5eb5cef7233e98b78ec627d /src/net/tmwa/specialhandler.cpp
parent5e988995513762efc328dc0c592e191b49622d30 (diff)
downloadmv-e18e3bdf005824b5875bda74053c116b6c4c059f.tar.gz
mv-e18e3bdf005824b5875bda74053c116b6c4c059f.tar.bz2
mv-e18e3bdf005824b5875bda74053c116b6c4c059f.tar.xz
mv-e18e3bdf005824b5875bda74053c116b6c4c059f.zip
Fix possible hiding methods issues.
Diffstat (limited to 'src/net/tmwa/specialhandler.cpp')
-rw-r--r--src/net/tmwa/specialhandler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/specialhandler.cpp b/src/net/tmwa/specialhandler.cpp
index 9fa7b6dfa..129f0b47e 100644
--- a/src/net/tmwa/specialhandler.cpp
+++ b/src/net/tmwa/specialhandler.cpp
@@ -69,7 +69,7 @@ void SpecialHandler::handleMessage(Net::MessageIn &msg)
}
}
-void SpecialHandler::use(int id, int level, int beingId)
+void SpecialHandler::useBeing(int id, int level, int beingId)
{
MessageOut outMsg(CMSG_SKILL_USE_BEING);
outMsg.writeInt16(static_cast<Sint16>(level));
@@ -77,7 +77,7 @@ void SpecialHandler::use(int id, int level, int beingId)
outMsg.writeInt16(static_cast<Sint16>(beingId));
}
-void SpecialHandler::use(int id, int level, int x, int y)
+void SpecialHandler::usePos(int id, int level, int x, int y)
{
MessageOut outMsg(CMSG_SKILL_USE_POSITION);
outMsg.writeInt16(static_cast<Sint16>(level));
@@ -86,7 +86,7 @@ void SpecialHandler::use(int id, int level, int x, int y)
outMsg.writeInt16(static_cast<Sint16>(y));
}
-void SpecialHandler::use(int id, const std::string &map)
+void SpecialHandler::useMap(int id, const std::string &map)
{
MessageOut outMsg(CMSG_SKILL_USE_MAP);
outMsg.writeInt16(static_cast<Sint16>(id));