diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-26 16:01:24 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-08-26 16:01:24 +0000 |
commit | ef4486580fc7b8293555fcabc398ed0c2b90d78e (patch) | |
tree | 41312f2ab68ceaa95ca0cc235f6b612c790bb90e /src/net/beinghandler.cpp | |
parent | 5cc5c903df7b535c6bf27987b89a405812d89735 (diff) | |
download | mana-ef4486580fc7b8293555fcabc398ed0c2b90d78e.tar.gz mana-ef4486580fc7b8293555fcabc398ed0c2b90d78e.tar.bz2 mana-ef4486580fc7b8293555fcabc398ed0c2b90d78e.tar.xz mana-ef4486580fc7b8293555fcabc398ed0c2b90d78e.zip |
Got rid of numerous additions and substractions to the hair style and color.
Hair style 0 was added and defined as being bald (so bald is no longer a
hardcoded style).
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 10de5351..c85e8893 100644 --- a/src/net/beinghandler.cpp +++ b/src/net/beinghandler.cpp @@ -398,7 +398,7 @@ BeingHandler::handleBeingEnterMessage(MessageIn &msg) being = beingManager->createBeing(id, 0); being->setName(name); } - being->setHairStyle(msg.readByte() + 1); - being->setHairColor(msg.readByte() + 1); + being->setHairStyle(msg.readByte()); + being->setHairColor(msg.readByte()); being->setSex(msg.readByte()); } |