Core: Fix non-PCH build and remove a few warnings.

This commit is contained in:
click committed 2012-01-24 00:24:39 +01:00
1 parent 40c6e7bcdb
commit e6d5b21778
11 files changed
+15 -7

No files matched your search

+1 -1
View File
@@ -992,7 +992,7 @@ public:
return true;
}
static bool HandleReloadWpCommand(ChatHandler* handler, const char* args)
static bool HandleReloadWpCommand(ChatHandler* /*handler*/, const char* args)
{
if (*args != 'a')
sLog->outString("Re-Loading Waypoints data from 'waypoints_data'");
@@ -276,7 +276,7 @@ public:
me->DealDamage(me, me->GetHealth(), NULL, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
}
void JustDied(Unit* killer)
void JustDied(Unit* /*killer*/)
{
summons.DespawnAll();
@@ -285,8 +285,8 @@ public:
Talk(SAY_DEATH);
}
void SpellHitTarget(Unit* target, const SpellInfo* spell)
void SpellHitTarget(Unit* /*target*/, const SpellInfo* spell)
{
if (spell->Id == SPELL_RITUAL_STRIKE_EFF_1 && Phase != NORMAL && Phase != SVALADEAD)
{
@@ -17,6 +17,9 @@
//! TODO - Boss not scripted, just ported required spellscript from core
#include "ScriptMgr.h"
#include "SpellScript.h"
enum Spells
{
SPELL_POSITIVE_CHARGE = 39090,