mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 03:42:37 +01:00
Core/Misc: Fix static analysis issues
(cherry picked from commit 7d3291e804)
# Conflicts:
# src/server/scripts/Outland/TempestKeep/Eye/boss_kaelthas.cpp
This commit is contained in:
@@ -1122,8 +1122,7 @@ class boss_grand_astromancer_capernian : public CreatureScript
|
||||
//Conflagration_Timer
|
||||
if (Conflagration_Timer <= diff)
|
||||
{
|
||||
Unit* target = NULL;
|
||||
target = SelectTarget(SELECT_TARGET_RANDOM, 0);
|
||||
Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0);
|
||||
|
||||
if (target && me->IsWithinDistInMap(target, 30))
|
||||
DoCast(target, SPELL_CONFLAGRATION);
|
||||
|
||||
Reference in New Issue
Block a user