summaryrefslogtreecommitdiff
path: root/src/net/charserverhandler.cpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-08-05 12:06:40 +0000
committerDavid Athay <ko2fan@gmail.com>2008-08-05 12:06:40 +0000
commitd5bb76a134de27fd704cf2a76ad46df3026a8d0d (patch)
tree5b17acb82c211790d0cebb82900b20bdf1fc8ff9 /src/net/charserverhandler.cpp
parentd828b8c752fc285b26a4521c0718df5cfdc06f9d (diff)
downloadmana-client-d5bb76a134de27fd704cf2a76ad46df3026a8d0d.tar.gz
mana-client-d5bb76a134de27fd704cf2a76ad46df3026a8d0d.tar.bz2
mana-client-d5bb76a134de27fd704cf2a76ad46df3026a8d0d.tar.xz
mana-client-d5bb76a134de27fd704cf2a76ad46df3026a8d0d.zip
Fixed alignment (patch by Scraggy - Mantis #384) and spelling error.
Diffstat (limited to 'src/net/charserverhandler.cpp')
-rw-r--r--src/net/charserverhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/charserverhandler.cpp b/src/net/charserverhandler.cpp
index 5cc53f7d..c49c7640 100644
--- a/src/net/charserverhandler.cpp
+++ b/src/net/charserverhandler.cpp
@@ -169,7 +169,7 @@ void CharServerHandler::handleMessage(MessageIn *msg)
errorMessage = "Duplicated login";
break;
default:
- errorMessage = "Unkown error with 0x0081";
+ errorMessage = "Unknown error with 0x0081";
break;
}
mCharInfo->unlock();
@@ -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
- tempPlayer->setSprite(Being::SHIELD_SPRITE, msg.readInt16());
+ 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();