mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
Core/Misc: Fix static analysis issues
This commit is contained in:
@@ -2309,7 +2309,6 @@ public:
|
||||
charGossipItem = GOSSIP_ITEM_GUARD_MITCHELLS;
|
||||
break;
|
||||
default:
|
||||
charGossipItem = "";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -204,8 +204,7 @@ public:
|
||||
Submerged = false;
|
||||
WaitTimer2 = 500;
|
||||
}
|
||||
|
||||
if (!Submerged && WaitTimer2 <= diff) // wait 500ms before emerge anim
|
||||
else if (WaitTimer2 <= diff) // wait 500ms before emerge anim
|
||||
{
|
||||
me->RemoveAllAuras();
|
||||
me->SetUInt32Value(UNIT_NPC_EMOTESTATE, 0);
|
||||
|
||||
@@ -204,8 +204,7 @@ class boss_omor_the_unscarred : public CreatureScript
|
||||
{
|
||||
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
|
||||
{
|
||||
if (target)
|
||||
target = me->GetVictim();
|
||||
target = me->GetVictim();
|
||||
|
||||
DoCast(target, SPELL_SHADOW_BOLT);
|
||||
Shadowbolt_Timer = 4000 + rand32() % 2500;
|
||||
|
||||
Reference in New Issue
Block a user