mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 02:25:38 +01:00
Core: Fix non-PCH build + clean up some sporadic warnings
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include <sys/types.h>
|
||||
#include "VMapFactory.h"
|
||||
#include "VMapManager2.h"
|
||||
#include "G3D/Table.h"
|
||||
|
||||
using namespace G3D;
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -583,7 +583,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void DamageTaken(Unit* done_by, uint32 &damage)
|
||||
void DamageTaken(Unit* /*done_by*/, uint32 &damage)
|
||||
{
|
||||
if (damage >= me->GetHealth() && withhead)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user