aboutsummaryrefslogtreecommitdiff
path: root/src/game/QueryHandler.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-13 09:40:44 -0500
committermegamage <none@none>2009-06-13 09:40:44 -0500
commit67a356767df4fa84a01b741d4e48235297144540 (patch)
tree82dfdf3f5026b1c395e1e93c481b810054b3fd8d /src/game/QueryHandler.cpp
parentee9c12b48041884267c483ec1d5a197a9d9729ab (diff)
[7995] Check display id correctness for creature and gameobjects. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src/game/QueryHandler.cpp')
-rw-r--r--src/game/QueryHandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/QueryHandler.cpp b/src/game/QueryHandler.cpp
index 5786e24eaef..1ed9fd77db3 100644
--- a/src/game/QueryHandler.cpp
+++ b/src/game/QueryHandler.cpp
@@ -189,10 +189,10 @@ void WorldSession::HandleCreatureQueryOpcode( WorldPacket & recv_data )
data << uint32(ci->rank); // Creature Rank (elite, boss, etc)
data << uint32(ci->unk1); // new in 3.1, creature entry?
data << uint32(ci->unk2); // new in 3.1, creature entry?
- data << (uint32)ci->Modelid_A1; // Modelid_A1
- data << (uint32)ci->Modelid_A2; // Modelid_A2
- data << (uint32)ci->Modelid_H1; // Modelid_H1
- data << (uint32)ci->Modelid_H2; // Modelid_H2
+ data << (uint32)ci->DisplayID_A; // DisplayID_A
+ data << (uint32)ci->DisplayID_A2; // DisplayID_A2
+ data << (uint32)ci->DisplayID_H; // DisplayID_H
+ data << (uint32)ci->DisplayID_H2; // DisplayID_H2
data << float(ci->unk16); // unk
data << float(ci->unk17); // unk
data << uint8(ci->RacialLeader);