Core/Pooling: Quest pooling rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/51fbda4223442635a35d3225c0797d0151ea7051)
This commit is contained in:
@@ -1428,7 +1428,7 @@ namespace Game
|
||||
{
|
||||
foreach (var pair in mGameEventCreatureQuests[eventId])
|
||||
{
|
||||
var CreatureQuestMap = Global.ObjectMgr.GetCreatureQuestRelationMap();
|
||||
var CreatureQuestMap = Global.ObjectMgr.GetCreatureQuestRelationMapHACK();
|
||||
if (activate) // Add the pair(id, quest) to the multimap
|
||||
CreatureQuestMap.Add(pair.Item1, pair.Item2);
|
||||
else
|
||||
@@ -1442,7 +1442,7 @@ namespace Game
|
||||
}
|
||||
foreach (var pair in mGameEventGameObjectQuests[eventId])
|
||||
{
|
||||
var GameObjectQuestMap = Global.ObjectMgr.GetGOQuestRelationMap();
|
||||
var GameObjectQuestMap = Global.ObjectMgr.GetGOQuestRelationMapHACK();
|
||||
if (activate) // Add the pair(id, quest) to the multimap
|
||||
GameObjectQuestMap.Add(pair.Item1, pair.Item2);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user