mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-13 03:32:28 -04:00
Scripts/Spells: Fixed crash in mage Ignite script
This commit is contained in:
@@ -1120,8 +1120,9 @@ class spell_mage_hot_streak_ignite_marker : public SpellScript
|
||||
public:
|
||||
static bool IsActive(Spell const* spell)
|
||||
{
|
||||
if (spell_mage_hot_streak_ignite_marker const* script = spell->GetScript<spell_mage_hot_streak_ignite_marker>())
|
||||
return script->_affectedByHotStreak;
|
||||
if (spell)
|
||||
if (spell_mage_hot_streak_ignite_marker const* script = spell->GetScript<spell_mage_hot_streak_ignite_marker>())
|
||||
return script->_affectedByHotStreak;
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user