aboutsummaryrefslogtreecommitdiff
path: root/src/game/QueryHandler.cpp
diff options
context:
space:
mode:
authorw12x <none@none>2008-10-27 11:48:45 -0500
committerw12x <none@none>2008-10-27 11:48:45 -0500
commitfc77e2d761a5028a51318493a17999069017c4e3 (patch)
tree90fbd6be1f819de32d36a1da1af44c97837c0a50 /src/game/QueryHandler.cpp
parent4cbc6f830a833719b7586b333aa8151dab563b60 (diff)
[svn] * Changed modelid_a/h(2) values to modelid1..4, display ids are no longer incorrectly chosen based on player faction. Patch provided by WarHead.
--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 50a44ee7a98..fe38ac2bdc7 100644
--- a/src/game/QueryHandler.cpp
+++ b/src/game/QueryHandler.cpp
@@ -187,10 +187,10 @@ void WorldSession::HandleCreatureQueryOpcode( WorldPacket & recv_data )
data << (uint32)ci->rank; // rank wdbFeild10
data << (uint32)0; // unknown wdbFeild11
data << (uint32)ci->PetSpellDataId; // Id from CreatureSpellData.dbc wdbField12
- data << (uint32)ci->DisplayID_A; // modelid_male1
- data << (uint32)ci->DisplayID_H; // modelid_female1 ?
- data << (uint32)ci->DisplayID_A2; // modelid_male2 ?
- data << (uint32)ci->DisplayID_H2; // modelid_femmale2 ?
+ data << (uint32)ci->Modelid1; // Modelid1
+ data << (uint32)ci->Modelid2; // Modelid2
+ data << (uint32)ci->Modelid3; // Modelid3
+ data << (uint32)ci->Modelid4; // Modelid4
data << (float)1.0f; // unk
data << (float)1.0f; // unk
data << (uint8)ci->RacialLeader;