Core/Misc: Fix static analysis issues
This commit is contained in:
1 parent
b583c1ffec
commit
33c7f9d471
2 files changed
+2
-3
No files matched your search
+1
-1
@@ -470,7 +470,7 @@ public:
|
||||
instance->GetData(BOSS_ARGENT_CHALLENGE_P) == NOT_STARTED &&
|
||||
instance->GetData(BOSS_BLACK_KNIGHT) == NOT_STARTED)
|
||||
AddGossipItemFor(player, GOSSIP_ICON_CHAT, GOSSIP_START_EVENT1, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1);
|
||||
else if (instance)
|
||||
else if
|
||||
AddGossipItemFor(player, GOSSIP_ICON_CHAT, GOSSIP_START_EVENT2, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1);
|
||||
|
||||
SendGossipMenuFor(player, player->GetGossipTextId(creature), creature->GetGUID());
|
||||
|
||||
@@ -1119,8 +1119,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