summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-06-28 02:39:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-06-28 02:39:27 +0300
commit6207ffb9a38c7e3718b7c4d87500ea9360d4d44f (patch)
tree8b87f43bb62ef9254cfd5e3ef2f344b1680fb760 /src/net/eathena/beinghandler.cpp
parent574181b2e5dfff30a2d4f766492226ab7b5a5a17 (diff)
downloadmv-6207ffb9a38c7e3718b7c4d87500ea9360d4d44f.tar.gz
mv-6207ffb9a38c7e3718b7c4d87500ea9360d4d44f.tar.bz2
mv-6207ffb9a38c7e3718b7c4d87500ea9360d4d44f.tar.xz
mv-6207ffb9a38c7e3718b7c4d87500ea9360d4d44f.zip
Fix compilation warnings.
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 519681009..799282d59 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -442,8 +442,6 @@ void BeingHandler::processPlayerMoveUpdate(Net::MessageIn &msg, int msgType)
int guild;
Being *dstBeing;
int hairStyle, hairColor;
- unsigned char colors[9];
-
// An update about a player, potentially including movement.
int id = msg.readInt32();
@@ -495,10 +493,9 @@ void BeingHandler::processPlayerMoveUpdate(Net::MessageIn &msg, int msgType)
headMid = msg.readInt16();
hairColor = msg.readInt16();
- colors[0] = msg.readInt8();
- colors[1] = msg.readInt8();
- colors[2] = msg.readInt8();
-
+ msg.readInt8();
+ msg.readInt8();
+ msg.readInt8();
msg.readInt8(); //unused
// shoes = msg.readInt16();
// gloves = msg.readInt16(); //sd->head_dir