aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellHandler.cpp
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-08-20 20:16:49 +0200
committerKudlaty <none@none>2009-08-20 20:16:49 +0200
commit007d3215d4a88cfc4f252ee4f9d59a2e5f33fe9f (patch)
tree3f99a8e6bd70292bfc68103420d8ec0f4e41afb3 /src/game/SpellHandler.cpp
parent7ccc15ec4849f9734ca91a5f55c62f51724a834c (diff)
Revert part of last patch witch should be not pushed. Sorry
--HG-- branch : trunk
Diffstat (limited to 'src/game/SpellHandler.cpp')
-rw-r--r--src/game/SpellHandler.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp
index c67d75a5e66..b41a2a0bf46 100644
--- a/src/game/SpellHandler.cpp
+++ b/src/game/SpellHandler.cpp
@@ -548,7 +548,7 @@ void WorldSession::HandleMirrrorImageDataRequest( WorldPacket & recv_data )
data << (uint8)pCreator->GetByteValue(PLAYER_BYTES, 3); // haircolor
data << (uint8)pCreator->GetByteValue(PLAYER_BYTES_2, 0); // facialhair
- data << (uint32)pCreator->GetGuildId(); // unk
+ data << (uint32)0; // unk
static const EquipmentSlots ItemSlots[] =
{
EQUIPMENT_SLOT_HEAD,
@@ -566,16 +566,10 @@ void WorldSession::HandleMirrrorImageDataRequest( WorldPacket & recv_data )
};
// Display items in visible slots
for (EquipmentSlots const* itr = &ItemSlots[0];*itr!=EQUIPMENT_SLOT_END;++itr)
- {
- if (*itr == EQUIPMENT_SLOT_HEAD && pCreator->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_HIDE_HELM))
- data << (uint32)0;
- else if (*itr == EQUIPMENT_SLOT_BACK && pCreator->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_HIDE_CLOAK))
- data << (uint32)0;
- else if (Item const *item = pCreator->GetItemByPos(INVENTORY_SLOT_BAG_0, *itr))
+ if (Item const *item = pCreator->GetItemByPos(INVENTORY_SLOT_BAG_0, *itr))
data << (uint32)item->GetProto()->DisplayInfoID;
else
data << (uint32)0;
- }
}
else
{