summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-06-04 08:53:01 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-06-04 08:53:01 +0000
commitef11f1b7f9c1ce48df0eff7acd3886768886449a (patch)
tree2b0aeada945f7072cf36bf3bd05b646c9bfdc8ac /src/net
parent631c3e27bda7d0a10a01e74a92d5269cc5881dba (diff)
downloadmana-ef11f1b7f9c1ce48df0eff7acd3886768886449a.tar.gz
mana-ef11f1b7f9c1ce48df0eff7acd3886768886449a.tar.bz2
mana-ef11f1b7f9c1ce48df0eff7acd3886768886449a.tar.xz
mana-ef11f1b7f9c1ce48df0eff7acd3886768886449a.zip
Display shield sprite also in character select window (patch by Sanga).
Diffstat (limited to 'src/net')
-rw-r--r--src/net/charserverhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp
index 5c275b94..5cc53f7d 100644
--- a/src/net/charserverhandler.cpp
+++ b/src/net/charserverhandler.cpp
@@ -208,7 +208,7 @@ LocalPlayer* CharServerHandler::readPlayerData(MessageIn &msg, int &slot)
tempPlayer->mLevel = msg.readInt16();
msg.readInt16(); // skill point
tempPlayer->setSprite(Being::BOTTOMCLOTHES_SPRITE, msg.readInt16()); // head bottom
- msg.readInt16(); // shield
+ tempPlayer->setSprite(Being::SHIELD_SPRITE, msg.readInt16());
tempPlayer->setSprite(Being::HAT_SPRITE, msg.readInt16()); // head option top
tempPlayer->setSprite(Being::TOPCLOTHES_SPRITE, msg.readInt16()); // head option mid
int hairColor = msg.readInt16();