diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-01-08 05:35:20 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-01-08 05:35:20 +0200 |
commit | 871fb6eee49c142be78315cc97c1c8e29daf7d61 (patch) | |
tree | 30d2570ad862817d278e88edda9e4c6028d3c85a /src/localplayer.cpp | |
parent | ef7f53e43ce4306080efae3b86443a6016a3e66a (diff) | |
download | manaverse-871fb6eee49c142be78315cc97c1c8e29daf7d61.tar.gz manaverse-871fb6eee49c142be78315cc97c1c8e29daf7d61.tar.bz2 manaverse-871fb6eee49c142be78315cc97c1c8e29daf7d61.tar.xz manaverse-871fb6eee49c142be78315cc97c1c8e29daf7d61.zip |
Add support for drawing new slots as sprites.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index edff2ce67..207e71bf5 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -3344,6 +3344,7 @@ void LocalPlayer::imitateOutfit(Being *player, int sprite) if (mImitationMode == 1 && !player_imitated.empty() && player->getName() == player_imitated) { +// logger->log("have equip %d", sprite); // std::string filename = ItemDB::get( // player->getId()).getSprite(mGender); // logger->log("LocalPlayer::imitateOutfit sprite: " + toString(sprite)); @@ -3383,7 +3384,7 @@ void LocalPlayer::imitateOutfit(Being *player, int sprite) } else { -// logger->log("have unequip"); +// logger->log("have unequip %d", sprite); int equipmentSlot = Net::getInventoryHandler() ->convertFromServerSlot(sprite); |