summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
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");