summaryrefslogtreecommitdiff
path: root/src/net/tmwa/specialhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-10 03:06:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-10 03:08:05 +0300
commit46cc993b30fe9a4da9175beb2795de91162c39fa (patch)
treebb50f135d38cda0188fb27648ec622fd4f157de6 /src/net/tmwa/specialhandler.cpp
parent9b80af87b10412a9732001979b76575b49ad4552 (diff)
downloadmv-46cc993b30fe9a4da9175beb2795de91162c39fa.tar.gz
mv-46cc993b30fe9a4da9175beb2795de91162c39fa.tar.bz2
mv-46cc993b30fe9a4da9175beb2795de91162c39fa.tar.xz
mv-46cc993b30fe9a4da9175beb2795de91162c39fa.zip
Add basic skill action use on target.
Diffstat (limited to 'src/net/tmwa/specialhandler.cpp')
-rw-r--r--src/net/tmwa/specialhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/specialhandler.cpp b/src/net/tmwa/specialhandler.cpp
index 129f0b47e..2941422d0 100644
--- a/src/net/tmwa/specialhandler.cpp
+++ b/src/net/tmwa/specialhandler.cpp
@@ -72,9 +72,9 @@ void SpecialHandler::handleMessage(Net::MessageIn &msg)
void SpecialHandler::useBeing(int id, int level, int beingId)
{
MessageOut outMsg(CMSG_SKILL_USE_BEING);
- outMsg.writeInt16(static_cast<Sint16>(level));
outMsg.writeInt16(static_cast<Sint16>(id));
- outMsg.writeInt16(static_cast<Sint16>(beingId));
+ outMsg.writeInt16(static_cast<Sint16>(level));
+ outMsg.writeInt32(beingId);
}
void SpecialHandler::usePos(int id, int level, int x, int y)