summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLloyd Bryant <lloyd_bryant@netzero.net>2008-07-24 13:59:50 +0000
committerLloyd Bryant <lloyd_bryant@netzero.net>2008-07-24 13:59:50 +0000
commit83f233b27ea4fdd5e9b16685af5c55eab8b0d295 (patch)
treee71a248c52c8e4e8b31f4d4ddf54bfeb6a3c6221
parentcd0659cb30e2f242f42c7f464c8051bdaa566b9b (diff)
downloadmana-client-83f233b27ea4fdd5e9b16685af5c55eab8b0d295.tar.gz
mana-client-83f233b27ea4fdd5e9b16685af5c55eab8b0d295.tar.bz2
mana-client-83f233b27ea4fdd5e9b16685af5c55eab8b0d295.tar.xz
mana-client-83f233b27ea4fdd5e9b16685af5c55eab8b0d295.zip
Bugfix for visual glitch when using TMW server
-rw-r--r--ChangeLog5
-rw-r--r--src/net/beinghandler.cpp4
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6fe89c17..907993d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-07-24 Lloyd Bryant ("Sanga") <lloyd_bryant@netzero.net>
+
+ * Tweak in net/beinghandler.cpp to compensate for a visual
+ bug when using the TMW server.
+
2008-07-23 Lloyd Bryant ("Sanga") <lloyd_bryant@netzero.net>
* Added support for capes/misc1/misc2 into the character
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp
index 048b7428..00053083 100644
--- a/src/net/beinghandler.cpp
+++ b/src/net/beinghandler.cpp
@@ -419,7 +419,9 @@ void BeingHandler::handleMessage(MessageIn *msg)
dstBeing->setSprite(Being::TOPCLOTHES_SPRITE, headMid);
dstBeing->setSprite(Being::HAT_SPRITE, headTop);
dstBeing->setSprite(Being::SHOE_SPRITE, shoes);
- dstBeing->setSprite(Being::GLOVES_SPRITE, gloves);
+ // Compensation for the unpatched TMW server
+ if (gloves > 10)
+ dstBeing->setSprite(Being::GLOVES_SPRITE, gloves);
dstBeing->setSprite(Being::CAPE_SPRITE, cape);
dstBeing->setSprite(Being::MISC1_SPRITE, misc1);
dstBeing->setSprite(Being::MISC2_SPRITE, misc2);