diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-06-21 17:06:57 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-06-21 17:06:57 +0000 |
commit | e87c165b31b3bdb784f23fd7d1e6a795859aa24c (patch) | |
tree | 913263b303ff1019d8be92ade326a028c012db16 /src/net/beinghandler.cpp | |
parent | 46cf032fc0eea43743b86d9e05950dd7a65728b7 (diff) | |
download | mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.gz mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.bz2 mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.tar.xz mana-e87c165b31b3bdb784f23fd7d1e6a795859aa24c.zip |
Added female players.
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 e95f785e..f8e6baef 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -125,7 +125,7 @@ void BeingHandler::handleMessage(MessageIn *msg) msg->readInt16(); // manner msg->readInt16(); // karma msg->readInt8(); // unknown - msg->readInt8(); // sex + dstBeing->setSex(1 - msg->readInt8()); // sex if (msg->getId() == SMSG_BEING_MOVE) { @@ -318,7 +318,7 @@ void BeingHandler::handleMessage(MessageIn *msg) msg->readInt32(); // emblem msg->readInt16(); // manner msg->readInt8(); // karma - msg->readInt8(); // sex + dstBeing->setSex(1 - msg->readInt8()); // sex if (msg->getId() == SMSG_PLAYER_MOVE) { |