Core/Misc Remove WhiteSpaces (#18379)

(cherry picked from commit 7e0a616657)
This commit is contained in:
Gustavo
2016-12-01 23:23:02 -02:00
committed by DoctorKraft
parent 91a70f9aa2
commit bc87d3a2b3
2 changed files with 3 additions and 3 deletions

View File

@@ -80,13 +80,13 @@ void SmartWaypointMgr::LoadFromDB()
TC_LOG_ERROR("sql.sql", "SmartWaypointMgr::LoadFromDB: Path entry %u, unexpected point id %u, expected %u.", entry, id, last_id);
last_id++;
WayPoint point;
point.id = id;
point.x = x;
point.y = y;
point.z = z;
path.push_back(std::move(point));
last_entry = entry;

View File

@@ -290,7 +290,7 @@ public:
me->ApplySpellImmune(0, IMMUNITY_STATE, SPELL_AURA_MOD_TAUNT, false);
me->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_ATTACK_ME, false);
ScheduleEvents();
// Attack the stored target
if (Unit* oldTarget = ObjectAccessor::GetUnit(*me, _oldTargetGUID))
if (Unit* currentTarget = ObjectAccessor::GetUnit(*me, _targetGUID))