aboutsummaryrefslogtreecommitdiff
path: root/src/game/QueryHandler.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-07-20 12:30:37 +0800
committermegamage <none@none>2009-07-20 12:30:37 +0800
commitffcbd11b2c4f72f9390486081d813bcf54a41179 (patch)
tree1897f9b0984d421a7ed269859f540c065b32a79c /src/game/QueryHandler.cpp
parent80b7b3c1fc2186d6e4c3f2105fea3928681625d6 (diff)
[8190] Update killing quest objectives base at creature_template KillCredit fields. Author: GriffonHeart
Note: for avoid double counting must be removed C++ scripts and EventAI scripts that do same thing in old way. Signed-off-by: VladimirMangos <vladimir@getmangos.com> Also implement KillCreditN field check at loading. --HG-- branch : trunk
Diffstat (limited to 'src/game/QueryHandler.cpp')
-rw-r--r--src/game/QueryHandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/QueryHandler.cpp b/src/game/QueryHandler.cpp
index 7c2bd21e81d..b70a85c58e2 100644
--- a/src/game/QueryHandler.cpp
+++ b/src/game/QueryHandler.cpp
@@ -191,8 +191,8 @@ void WorldSession::HandleCreatureQueryOpcode( WorldPacket & recv_data )
data << uint32(ci->type); // CreatureType.dbc
data << uint32(ci->family); // CreatureFamily.dbc
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->KillCredit[0]); // new in 3.1, kill credit
+ data << uint32(ci->KillCredit[1]); // new in 3.1, kill credit
data << uint32(ci->DisplayID_A[0]); // modelid_male1
data << uint32(ci->DisplayID_H[0]); // modelid_female1 ?
data << uint32(ci->DisplayID_A[1]); // modelid_male2 ?