From 46cc993b30fe9a4da9175beb2795de91162c39fa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 10 Mar 2012 03:06:27 +0300 Subject: Add basic skill action use on target. --- src/net/tmwa/specialhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa/specialhandler.cpp') 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(level)); outMsg.writeInt16(static_cast(id)); - outMsg.writeInt16(static_cast(beingId)); + outMsg.writeInt16(static_cast(level)); + outMsg.writeInt32(beingId); } void SpecialHandler::usePos(int id, int level, int x, int y) -- cgit v1.2.3-70-g09d2