Core: Fix more warnings
--HG-- branch : trunk
This commit is contained in:
@@ -189,7 +189,7 @@ class boss_archaedas : public CreatureScript
|
||||
DoMeleeAttackIfReady();
|
||||
}
|
||||
|
||||
void JustDied (Unit *pKiller) {
|
||||
void JustDied (Unit * /*pKiller*/) {
|
||||
if (pInstance)
|
||||
{
|
||||
pInstance->SetData(NULL,3); // open the vault door
|
||||
|
||||
@@ -173,7 +173,7 @@ class instance_uldaman : public InstanceMapScript
|
||||
if (!archaedas)
|
||||
return;
|
||||
|
||||
if (Unit *victim = Unit::GetUnit(*archaedas, target))
|
||||
if (Unit::GetUnit(*archaedas, target))
|
||||
{
|
||||
archaedas->CastSpell(archaedas, SPELL_ARCHAEDAS_AWAKEN,false);
|
||||
whoWokeArchaedasGUID = target;
|
||||
@@ -299,4 +299,4 @@ class instance_uldaman : public InstanceMapScript
|
||||
void AddSC_instance_uldaman()
|
||||
{
|
||||
new instance_uldaman();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user