Core/Misc: kill whitespace

# Conflicts:
#	sql/updates/world/3.3.5/2018_01_10_04_world_335.sql
#	src/server/game/Combat/ThreatManager.h
#	src/server/game/Entities/Creature/Creature.cpp
#	src/server/game/Entities/Player/Player.cpp
#	src/server/scripts/Kalimdor/boss_azuregos.cpp
This commit is contained in:
ariel-
2018-01-12 00:07:29 -03:00
committed by Ovahlord
parent f91c2335f5
commit 32d189e8b7
2 changed files with 5 additions and 2 deletions

View File

@@ -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<redirInfo.size(); ++i)
for (size_t i = 0; i < redirInfo.size(); ++i)
{
auto const pair = redirInfo[i]; // (victim,pct)
Unit* redirTarget = nullptr;

View File

@@ -15,6 +15,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#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