Core: Clean up whitespace, and remove a silly warning in boss_lurker_below.cpp

This commit is contained in:
click committed 2013-02-07 00:19:19 +01:00
1 parent fdffb3ebd0
commit 75994b3dd3
8 files changed
+8 -8

No files matched your search

@@ -79,7 +79,7 @@ class TransportBase
{
public:
virtual ~TransportBase() { }
/// This method transforms supplied transport offsets into global coordinates
virtual void CalculatePassengerPosition(float& x, float& y, float& z, float& o) = 0;
@@ -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);
}
@@ -977,7 +977,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);
}
@@ -153,7 +153,7 @@ public:
Summons.DespawnAll();
}
void EnterCombat(Unit* who)
void EnterCombat(Unit* /*who*/)
{
if (instance)
instance->SetData(DATA_THELURKERBELOWEVENT, IN_PROGRESS);
@@ -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);
}
+1 -1
View File
@@ -48,7 +48,7 @@ void AppenderFile::_write(LogMessage const& message)
snprintf(namebuf, TRINITY_PATH_MAX, filename.c_str(), message.param1.c_str());
logfile = OpenFile(namebuf, mode, backup || exceedMaxSize);
}
else if (exceedMaxSize)
else if (exceedMaxSize)
logfile = OpenFile(filename, "w", true);
if (!logfile)