warning fix
This commit is contained in:
1 parent
c95b81063c
commit
cd365a880d
1 file changed
+2
-1
+2
-1
@@ -735,7 +735,8 @@ struct npc_atramedes_reverberating_flame : public NullCreatureAI
|
||||
Unit* target = ObjectAccessor::GetUnit(*me, me->GetTarget());
|
||||
if (!target || !target->IsAlive())
|
||||
{
|
||||
if (target = me->SelectNearestPlayer(100.f))
|
||||
target = me->SelectNearestPlayer(100.f);
|
||||
if (target)
|
||||
trackTarget(target);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user