Core/Unit: Change aura proc pair container to vector

This commit is contained in:
ariel- authored and roc13x committed 2017-05-04 00:59:01 +01:00
1 parent 44a779ad38
commit b3eb7c121f
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -10658,7 +10658,7 @@ void Unit::GetProcAurasTriggeredOnEvent(AuraApplicationProcContainer& aurasTrigg
if (uint8 procEffectMask = aurApp->GetBase()->IsProcTriggeredOnEvent(aurApp, eventInfo, now))
{
aurApp->GetBase()->PrepareProcToTrigger(aurApp, eventInfo, now);
aurasTriggeringProc.emplace_back(std::make_pair(procEffectMask, aurApp));
aurasTriggeringProc.emplace_back(procEffectMask, aurApp);
}
}
}
@@ -10670,7 +10670,7 @@ void Unit::GetProcAurasTriggeredOnEvent(AuraApplicationProcContainer& aurasTrigg
if (uint8 procEffectMask = itr->second->GetBase()->IsProcTriggeredOnEvent(itr->second, eventInfo, now))
{
itr->second->GetBase()->PrepareProcToTrigger(itr->second, eventInfo, now);
aurasTriggeringProc.emplace_back(std::make_pair(procEffectMask, itr->second));
aurasTriggeringProc.emplace_back(procEffectMask, itr->second);
}
}
}