summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-12 23:59:10 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-13 00:04:53 +0300
commit0a7725600eecd8491f3c814110bb434824e71252 (patch)
tree05df7742a9697f394a9478082fdeb15a46d4bbb4 /src/localplayer.cpp
parent9e53440cb2dbcfd4311ce2566eb98839383738c7 (diff)
downloadmanaplus-0a7725600eecd8491f3c814110bb434824e71252.tar.gz
manaplus-0a7725600eecd8491f3c814110bb434824e71252.tar.bz2
manaplus-0a7725600eecd8491f3c814110bb434824e71252.tar.xz
manaplus-0a7725600eecd8491f3c814110bb434824e71252.zip
Use per race equipment sprites.
Example: <sprite gender="male" race="4">...</sprite>
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index e8c218292..f455cccb2 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -3884,7 +3884,8 @@ void LocalPlayer::imitateOutfit(Being *player, int sprite)
// logger->log("idPath: " + path);
- Item *item = inv->findItemBySprite(path, player->getGender());
+ Item *item = inv->findItemBySprite(path,
+ player->getGender(), player->getSubType());
// if (item)
// {
// logger->log("got item");