diff options
author | Spp <none@none> | 2010-04-19 09:26:37 +0200 |
---|---|---|
committer | Spp <none@none> | 2010-04-19 09:26:37 +0200 |
commit | 74dd02d024007c3a09219177fabfe9010b1bce63 (patch) | |
tree | 041286f1a0a20c9714199b03c60808d3b7291e48 /src/game/ScriptedCreature.cpp | |
parent | fdd8d2f3cc7108043f6bad036b994770f904866f (diff) |
Remove LOTS of compile warnings
--HG--
branch : trunk
Diffstat (limited to 'src/game/ScriptedCreature.cpp')
-rw-r--r-- | src/game/ScriptedCreature.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/ScriptedCreature.cpp b/src/game/ScriptedCreature.cpp index 48f17463824..1dc8934a511 100644 --- a/src/game/ScriptedCreature.cpp +++ b/src/game/ScriptedCreature.cpp @@ -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) |