summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-01 02:54:24 +0000
committerIra Rice <irarice@gmail.com>2008-10-01 02:54:24 +0000
commit9dd496ef1a395cada1f7fec08d4785728b2602d2 (patch)
tree9e4600961617726c1411af39e2ef91102525ca43 /src
parentb87bcbd23760e33ec3a20e0faaf2e5ef4a85d6ad (diff)
downloadmana-9dd496ef1a395cada1f7fec08d4785728b2602d2.tar.gz
mana-9dd496ef1a395cada1f7fec08d4785728b2602d2.tar.bz2
mana-9dd496ef1a395cada1f7fec08d4785728b2602d2.tar.xz
mana-9dd496ef1a395cada1f7fec08d4785728b2602d2.zip
Fixed female sprites not showing all equipment.
Diffstat (limited to 'src')
-rw-r--r--src/net/beinghandler.cpp2
-rw-r--r--src/resources/itemdb.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/beinghandler.cpp b/src/net/beinghandler.cpp
index 7c9b8afd..87e4c8a4 100644
--- a/src/net/beinghandler.cpp
+++ b/src/net/beinghandler.cpp
@@ -471,7 +471,7 @@ void BeingHandler::handleMessage(MessageIn *msg)
msg->readInt8(); // unknown
dstBeing->mWalkTime = tick_time;
- //dstBeing->mFrame = 0;
+ dstBeing->mFrame = 0;
break;
case SMSG_PLAYER_STOP:
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp
index 8999f651..4d78aa1c 100644
--- a/src/resources/itemdb.cpp
+++ b/src/resources/itemdb.cpp
@@ -176,7 +176,7 @@ void loadSpriteRef(ItemInfo *itemInfo, xmlNodePtr node)
{
itemInfo->setSprite(filename, 0);
}
- else
+ if (gender == "female" || gender == "unisex")
{
itemInfo->setSprite(filename, 1);
}