Core/Misc: Fix static analysis issues
This commit is contained in:
1 parent
51d0befe6d
commit
9595e0ca36
4 files changed
+9
-12
No files matched your search
@@ -570,15 +570,12 @@ public:
|
||||
Rebirth = true;
|
||||
}
|
||||
|
||||
if (Rebirth)
|
||||
if (Death_Timer <= diff)
|
||||
{
|
||||
if (Death_Timer <= diff)
|
||||
{
|
||||
me->SummonCreature(CREATURE_PHOENIX_EGG, 0.0f, 0.0f, 0.0f, 0.0f, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 45000);
|
||||
me->DisappearAndDie();
|
||||
Rebirth = false;
|
||||
} else Death_Timer -= diff;
|
||||
}
|
||||
me->SummonCreature(CREATURE_PHOENIX_EGG, 0.0f, 0.0f, 0.0f, 0.0f, TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN, 45000);
|
||||
me->DisappearAndDie();
|
||||
Rebirth = false;
|
||||
} else Death_Timer -= diff;
|
||||
}
|
||||
|
||||
if (!UpdateVictim())
|
||||
|
||||
Reference in new issue
Block a user