diff --git a/src/server/game/Combat/ThreatManager.cpp b/src/server/game/Combat/ThreatManager.cpp index 3677476cd47..622931ad828 100644 --- a/src/server/game/Combat/ThreatManager.cpp +++ b/src/server/game/Combat/ThreatManager.cpp @@ -334,7 +334,7 @@ void ThreatManager::AddThreat(Unit* target, float amount, SpellInfo const* spell { float const origAmount = amount; // intentional iteration by index - there's a nested AddThreat call further down that might cause AI calls which might modify redirect info through spells - for (size_t i=0; i. */ + #ifndef TRINITY_THREATMANAGER_H + #define TRINITY_THREATMANAGER_H + #include "Common.h" #include "IteratorPair.h" #include "ObjectGuid.h" @@ -271,5 +274,5 @@ class TC_GAME_API ThreatReference }; inline bool CompareThreatLessThan::operator()(ThreatReference const* a, ThreatReference const* b) const { return ThreatManager::CompareReferencesLT(a, b, 1.0f); } - + #endif