mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-04 11:33:48 +00:00
refactor(Core): rename namespaces and macros to acore (#2454)
This commit is contained in:
@@ -279,7 +279,7 @@ void ThreatContainer::modifyThreatPercent(Unit* victim, int32 percent)
|
||||
void ThreatContainer::update()
|
||||
{
|
||||
if (iDirty && iThreatList.size() > 1)
|
||||
iThreatList.sort(Trinity::ThreatOrderPred());
|
||||
iThreatList.sort(acore::ThreatOrderPred());
|
||||
|
||||
iDirty = false;
|
||||
}
|
||||
|
||||
@@ -259,7 +259,7 @@ class ThreatManager
|
||||
|
||||
//=================================================
|
||||
|
||||
namespace Trinity
|
||||
namespace acore
|
||||
{
|
||||
// Binary predicate for sorting HostileReferences based on threat value
|
||||
class ThreatOrderPred
|
||||
|
||||
Reference in New Issue
Block a user