diff options
author | Machiavelli <none@none> | 2009-08-22 13:15:46 +0200 |
---|---|---|
committer | Machiavelli <none@none> | 2009-08-22 13:15:46 +0200 |
commit | b25945b247a40b8c588ac9987aa13a0000f03781 (patch) | |
tree | 20f430997a7ac46b256fd3f9a65ee23f7a6fc1fd /src/game/MiscHandler.cpp | |
parent | a009e53049da27966cb3c32e7b0a3094ea320aef (diff) |
* Fix bug that creator of item was not displayed when inspecting another player
* Send item enchant data and creator regardless of CONFIG_TALENTS_INSPECTING
--HG--
branch : trunk
Diffstat (limited to 'src/game/MiscHandler.cpp')
-rw-r--r-- | src/game/MiscHandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp index cc1732fdb6a..debc1f45d70 100644 --- a/src/game/MiscHandler.cpp +++ b/src/game/MiscHandler.cpp @@ -1174,15 +1174,14 @@ void WorldSession::HandleInspectOpcode(WorldPacket& recv_data) if(!plr) // wrong player return; - uint32 talent_points = 0x3D; + uint32 talent_points = 0x47; uint32 guid_size = plr->GetPackGUID().wpos(); - WorldPacket data(SMSG_INSPECT_TALENT, guid_size+4+talent_points); + WorldPacket data(SMSG_INSPECT_TALENT, guid_size+4+talent_points+19*2); data.append(plr->GetPackGUID()); if(sWorld.getConfig(CONFIG_TALENTS_INSPECTING) || _player->isGameMaster()) { plr->BuildPlayerTalentsInfoData(&data); - plr->BuildEnchantmentsInfoData(&data); } else { @@ -1192,6 +1191,7 @@ void WorldSession::HandleInspectOpcode(WorldPacket& recv_data) data << uint32(0); // slotUsedMask } + plr->BuildEnchantmentsInfoData(&data); SendPacket(&data); } |