diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-10 03:06:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-10 03:08:05 +0300 |
commit | 46cc993b30fe9a4da9175beb2795de91162c39fa (patch) | |
tree | bb50f135d38cda0188fb27648ec622fd4f157de6 /src/net/tmwa | |
parent | 9b80af87b10412a9732001979b76575b49ad4552 (diff) | |
download | manaplus-46cc993b30fe9a4da9175beb2795de91162c39fa.tar.gz manaplus-46cc993b30fe9a4da9175beb2795de91162c39fa.tar.bz2 manaplus-46cc993b30fe9a4da9175beb2795de91162c39fa.tar.xz manaplus-46cc993b30fe9a4da9175beb2795de91162c39fa.zip |
Add basic skill action use on target.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r-- | src/net/tmwa/specialhandler.cpp | 4 |
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) |