aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-06-09 22:15:50 +0200
committerMachiavelli <none@none>2009-06-09 22:15:50 +0200
commit0643c3df83c36ae7ab0196859e476395e42a4ba0 (patch)
treec9db877b0a04edb6e31b4266c833793afc9487d2 /src
parent1afdfd91066805cac42e4d73fcac78591c139c89 (diff)
* Fix HandleInspectOpcode, by Vicos
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/MiscHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp
index c493d10de56..c204b8e9d34 100644
--- a/src/game/MiscHandler.cpp
+++ b/src/game/MiscHandler.cpp
@@ -1231,8 +1231,8 @@ void WorldSession::HandleInspectOpcode(WorldPacket& recv_data)
return;
uint32 talent_points = 0x3D;
- uint32 guid_size = plr->GetPackGUID().size();
- WorldPacket data(SMSG_INSPECT_TALENT, 4+talent_points);
+ uint32 guid_size = plr->GetPackGUID().wpos();
+ WorldPacket data(SMSG_INSPECT_TALENT, guid_size+4+talent_points);
data.append(plr->GetPackGUID());
data << uint32(talent_points);