mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 00:48:56 +01:00
Core/Misc: fix static analysis issues
CID 1373466 CID 1373481 CID 1373482
This commit is contained in:
@@ -553,12 +553,6 @@ class spell_collecting_fallout : public SpellScriptLoader
|
||||
{
|
||||
PrepareSpellScript(spell_collecting_fallout_SpellScript);
|
||||
|
||||
bool Load() override
|
||||
{
|
||||
_spellFail = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
void OnLaunch(SpellEffIndex effIndex)
|
||||
{
|
||||
// estimated 25% chance of success
|
||||
@@ -580,7 +574,7 @@ class spell_collecting_fallout : public SpellScriptLoader
|
||||
OnEffectLaunch += SpellEffectFn(spell_collecting_fallout_SpellScript::HandleFail, EFFECT_1, SPELL_EFFECT_TRIGGER_SPELL);
|
||||
}
|
||||
|
||||
bool _spellFail;
|
||||
bool _spellFail = true;
|
||||
};
|
||||
|
||||
SpellScript* GetSpellScript() const override
|
||||
|
||||
Reference in New Issue
Block a user