Remove LOTS of compile warnings

--HG--
branch : trunk
This commit is contained in:
Spp
2010-04-19 09:26:37 +02:00
parent fdd8d2f3cc
commit 74dd02d024
549 changed files with 2082 additions and 2122 deletions

View File

@@ -100,7 +100,7 @@ void ScriptedAI::AttackStartNoMove(Unit* pWho)
DoStartNoMovement(pWho);
}
void ScriptedAI::UpdateAI(const uint32 uiDiff)
void ScriptedAI::UpdateAI(const uint32 /*uiDiff*/)
{
//Check if we have a current target
if (!UpdateVictim())
@@ -195,8 +195,6 @@ Unit* ScriptedAI::SelectUnit(SelectAggroTarget pTarget, uint32 uiPosition)
default:
return UnitAI::SelectTarget(pTarget, uiPosition);
}
return NULL;
}
SpellEntry const* ScriptedAI::SelectSpell(Unit* pTarget, int32 uiSchool, int32 uiMechanic, SelectTargetType selectTargets, uint32 uiPowerCostMin, uint32 uiPowerCostMax, float fRangeMin, float fRangeMax, SelectEffect selectEffects)