Core: Whitespace cleanup

This commit is contained in:
Vincent_Michael committed 2013-02-07 00:02:22 +01:00
1 parent 1fbc25766f
commit 943c866da9
15 files changed
+48 -48

No files matched your search

+3 -3
View File
@@ -674,7 +674,7 @@ public:
handler->SetSentErrorMessage(true);
return false;
}
handler->PSendSysMessage("%s", handler->GetTrinityString(LANG_RBAC_LIST_GROUPS_HEADER));
handler->PSendSysMessage(LANG_RBAC_LIST_ELEMENT, group->GetId(), group->GetName().c_str());
handler->PSendSysMessage("%s", handler->GetTrinityString(LANG_RBAC_LIST_ROLES_HEADER));
@@ -719,7 +719,7 @@ public:
handler->SetSentErrorMessage(true);
return false;
}
handler->PSendSysMessage("%s", handler->GetTrinityString(LANG_RBAC_LIST_ROLES_HEADER));
handler->PSendSysMessage(LANG_RBAC_LIST_ELEMENT, role->GetId(), role->GetName().c_str());
handler->PSendSysMessage("%s", handler->GetTrinityString(LANG_RBAC_LIST_PERMISSIONS_HEADER));
@@ -765,7 +765,7 @@ public:
handler->SetSentErrorMessage(true);
return false;
}
handler->PSendSysMessage("%s", handler->GetTrinityString(LANG_RBAC_LIST_PERMISSIONS_HEADER));
handler->PSendSysMessage(LANG_RBAC_LIST_ELEMENT, permission->GetId(), permission->GetName().c_str());
}
@@ -1,4 +1,4 @@
/*
/*
* Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
*
* This program is free software; you can redistribute it and/or modify it
@@ -79,7 +79,7 @@ class boss_alizabal : public CreatureScript
{
public:
boss_alizabal() : CreatureScript("boss_alizabal") { }
struct boss_alizabalAI : public BossAI
{
boss_alizabalAI(Creature* creature) : BossAI(creature, DATA_ALIZABAL)
@@ -253,7 +253,7 @@ class boss_alizabal : public CreatureScript
break;
}
}
DoMeleeAttackIfReady();
}
};
@@ -256,7 +256,7 @@ public:
struct npc_andorhal_towerAI : public ScriptedAI
{
npc_andorhal_towerAI(Creature* creature) : ScriptedAI(creature)
npc_andorhal_towerAI(Creature* creature) : ScriptedAI(creature)
{
SetCombatMovement(false);
}
@@ -976,7 +976,7 @@ class npc_meteor_strike_initial : public CreatureScript
{
npc_meteor_strike_initialAI(Creature* creature) : ScriptedAI(creature),
_instance(creature->GetInstanceScript())
{
{
SetCombatMovement(false);
}
@@ -266,7 +266,7 @@ public:
struct npc_guardian_pavilionAI : public ScriptedAI
{
npc_guardian_pavilionAI(Creature* creature) : ScriptedAI(creature)
npc_guardian_pavilionAI(Creature* creature) : ScriptedAI(creature)
{
SetCombatMovement(false);
}
@@ -274,7 +274,7 @@ public:
struct npc_volcanoAI : public ScriptedAI
{
npc_volcanoAI(Creature* creature) : ScriptedAI(creature)
npc_volcanoAI(Creature* creature) : ScriptedAI(creature)
{
SetCombatMovement(false);
}
@@ -1406,7 +1406,7 @@ class mob_kael_flamestrike : public CreatureScript
}
struct mob_kael_flamestrikeAI : public ScriptedAI
{
mob_kael_flamestrikeAI(Creature* creature) : ScriptedAI(creature)
mob_kael_flamestrikeAI(Creature* creature) : ScriptedAI(creature)
{
SetCombatMovement(false);
}
+2 -2
View File
@@ -56,7 +56,7 @@ enum PaladinSpells
SPELL_PALADIN_DIVINE_SACRIFICE = 64205,
SPELL_PALADIN_DIVINE_PURPOSE_PROC = 90174,
SPELL_PALADIN_GLYPH_OF_SALVATION = 63225,
SPELL_PALADIN_RIGHTEOUS_DEFENSE_TAUNT = 31790,
@@ -874,7 +874,7 @@ class spell_pal_templar_s_verdict : public SpellScriptLoader
}
void ChangeDamage(SpellEffIndex /*effIndex*/)
{
{
Unit* caster = GetCaster();
int32 damage = GetHitDamage();