mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-03 19:13:49 +00:00
chore(Core/Misc): Some cleanup (#19970)
* remove weird blanks * update if * ) ) to )) * missed some ) ) * now switch * .
This commit is contained in:
@@ -256,7 +256,7 @@ void TurretAI::UpdateAI(uint32 /*diff*/)
|
||||
if (!UpdateVictim())
|
||||
return;
|
||||
|
||||
if( me->m_spells[0] )
|
||||
if (me->m_spells[0])
|
||||
DoSpellAttackIfReady(me->m_spells[0]);
|
||||
}
|
||||
|
||||
|
||||
@@ -1562,7 +1562,7 @@ void SmartScript::ProcessAction(SmartScriptHolder& e, Unit* unit, uint32 var0, u
|
||||
for (WorldObject* target : targets)
|
||||
{
|
||||
// xinef: allow gameobjects to summon gameobjects!
|
||||
//if(!IsUnit((*itr)))
|
||||
//if (!IsUnit((*itr)))
|
||||
// continue;
|
||||
|
||||
target->GetPosition(x, y, z, o);
|
||||
|
||||
Reference in New Issue
Block a user