Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Core: Fix non-PCH build + clean up some sporadic warnings

  • Loading branch information...
commit 7fe3f55b5e87053535563b4a214e41510faa43ca 1 parent cf9ce10
@click click authored
View
1  src/server/collision/Management/VMapFactory.cpp
@@ -19,6 +19,7 @@
#include <sys/types.h>
#include "VMapFactory.h"
#include "VMapManager2.h"
+#include "G3D/Table.h"
using namespace G3D;
View
2  src/server/game/Spells/Auras/SpellAuras.cpp
@@ -1752,7 +1752,7 @@ bool Aura::IsProcOnCooldown() const
return false;
}
-void Aura::AddProcCooldown(uint32 msec)
+void Aura::AddProcCooldown(uint32 /*msec*/)
{
//m_procCooldown = time(NULL) + msec;
}
View
2  src/server/game/Spells/SpellEffects.cpp
@@ -5519,7 +5519,7 @@ void Spell::EffectSummonPlayer(SpellEffIndex /*effIndex*/)
unitTarget->ToPlayer()->GetSession()->SendPacket(&data);
}
-void Spell::EffectActivateObject(SpellEffIndex effIndex)
+void Spell::EffectActivateObject(SpellEffIndex /*effIndex*/)
{
if (!gameObjTarget)
return;
View
2  src/server/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp
@@ -583,7 +583,7 @@ class boss_headless_horseman : public CreatureScript
}
}
- void DamageTaken(Unit* done_by, uint32 &damage)
+ void DamageTaken(Unit* /*done_by*/, uint32 &damage)
{
if (damage >= me->GetHealth() && withhead)
{
Please sign in to comment.
Something went wrong with that request. Please try again.