Core/Game: Code style.

Signed-off-by: Gyx <[email protected]>
This commit is contained in:
Gyx
2012-03-29 13:42:04 +08:00
parent b5fb1b5b64
commit 360014856d
44 changed files with 162 additions and 139 deletions
@@ -267,7 +267,7 @@ public:
}
} else DatterTimer -= diff;
if(me->HasAura(SPELL_LEECHING_SWARM))
if (me->HasAura(SPELL_LEECHING_SWARM))
me->RemoveAurasDueToSpell(SPELL_LEECHING_SWARM);
}
@@ -1685,7 +1685,7 @@ class spell_pursue : public SpellScriptLoader
void FilterTargetsSubsequently(std::list<Unit*>& targets)
{
targets.clear();
if(_target)
if (_target)
targets.push_back(_target);
}
@@ -168,7 +168,7 @@ class achievement_defenseless : public AchievementCriteriaScript
bool OnCheck(Player* /*player*/, Unit* target)
{
if(!target)
if (!target)
return false;
InstanceScript* instance = target->GetInstanceScript();