Core: Fix warnings

This commit is contained in:
leak
2012-03-24 15:37:54 +01:00
parent bdbc1312c3
commit 3d0063abee
4 changed files with 9 additions and 5 deletions
@@ -619,7 +619,7 @@ public:
{
if (m_uiRangeCheckTimer < uiDiff)
{
if (Player* target = me->SelectNearestPlayer(2.0f))
if (me->SelectNearestPlayer(2.0f))
{
DoCastAOE(SPELL_UNLEASHED_DARK);
me->GetMotionMaster()->MoveIdle();
@@ -660,7 +660,7 @@ public:
{
if (m_uiRangeCheckTimer < uiDiff)
{
if (Player* target = me->SelectNearestPlayer(2.0f))
if (me->SelectNearestPlayer(2.0f))
{
DoCastAOE(SPELL_UNLEASHED_LIGHT);
me->GetMotionMaster()->MoveIdle();