Do not use hard coded index in SMSG_QUEST_POI_QUERY_RESPONSE. May be the resolution for some client crashes.
--HG-- branch : trunk
This commit is contained in:
1 parent
830062779e
commit
f7ffd77123
3 files changed
+11
-12
No files matched your search
@@ -6779,7 +6779,7 @@ void ObjectMgr::LoadQuestPOI()
|
||||
uint32 unk3 = fields[6].GetUInt32();
|
||||
uint32 unk4 = fields[7].GetUInt32();
|
||||
|
||||
QuestPOI POI(objIndex, mapId, WorldMapAreaId, FloorId, unk3, unk4);
|
||||
QuestPOI POI(id, objIndex, mapId, WorldMapAreaId, FloorId, unk3, unk4);
|
||||
|
||||
QueryResult_AutoPtr points = WorldDatabase.PQuery("SELECT x, y FROM quest_poi_points WHERE questId='%u' AND id='%i'", questId, id);
|
||||
|
||||
|
||||
Reference in new issue
Block a user