diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-11-03 09:58:25 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-11-03 09:58:25 +0000 |
commit | 8a60e11684e84807f3526b37afa8cbf6f103b8fd (patch) | |
tree | 202058890ef2f8f2c5e9873acbb6f59327b28762 /src/net/beinghandler.cpp | |
parent | 8a0e94b31be13ef9c52b281c32095279d7fa1ca7 (diff) | |
download | mana-8a60e11684e84807f3526b37afa8cbf6f103b8fd.tar.gz mana-8a60e11684e84807f3526b37afa8cbf6f103b8fd.tar.bz2 mana-8a60e11684e84807f3526b37afa8cbf6f103b8fd.tar.xz mana-8a60e11684e84807f3526b37afa8cbf6f103b8fd.zip |
Fixed double load of hair graphics.
Diffstat (limited to 'src/net/beinghandler.cpp')
-rw-r--r-- | src/net/beinghandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp index 6bd31c9f..56ec0192 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -472,8 +472,8 @@ BeingHandler::handleBeingEnterMessage(MessageIn &msg) being->setName(name); } Player *p = static_cast< Player * >(being); - p->setHairStyle(msg.readByte()); - p->setHairColor(msg.readByte()); + int hs = msg.readByte(), hc = msg.readByte(); + p->setHairStyle(hs, hc); p->setGender(msg.readByte()); handleLooks(p, msg); } break; |