Core/DataStores: Added DB2Manager
* Moved DB2 helpers to new class * Moved hotfix data to hotfixes database and core management functions to DB2Manager class * Updated HotfixNotifyBlob packet
This commit is contained in:
@@ -1053,7 +1053,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
||||
if (!targets)
|
||||
break;
|
||||
|
||||
std::set<uint32> const& phases = GetPhasesForGroup(e.action.ingamePhaseGroup.groupId);
|
||||
std::set<uint32> phases = sDB2Manager.GetPhasesForGroup(e.action.ingamePhaseGroup.groupId);
|
||||
|
||||
for (ObjectList::const_iterator itr = targets->begin(); itr != targets->end(); ++itr)
|
||||
for (auto phase : phases)
|
||||
|
||||
Reference in New Issue
Block a user