mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-07 01:18:55 +01:00
warning fix
This commit is contained in:
@@ -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