mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
converted all tabs to 4 spaces
This commit is contained in:
@@ -123,12 +123,12 @@ void LoadDisables()
|
||||
data.params[1].insert(atoi(tokens[i++]));
|
||||
}
|
||||
|
||||
// xinef: if spell has disabled los, add flag
|
||||
if (flags & SPELL_DISABLE_LOS)
|
||||
{
|
||||
SpellInfo* spellInfo = const_cast<SpellInfo*>(sSpellMgr->GetSpellInfo(entry));
|
||||
spellInfo->AttributesEx2 |= SPELL_ATTR2_CAN_TARGET_NOT_IN_LOS;
|
||||
}
|
||||
// xinef: if spell has disabled los, add flag
|
||||
if (flags & SPELL_DISABLE_LOS)
|
||||
{
|
||||
SpellInfo* spellInfo = const_cast<SpellInfo*>(sSpellMgr->GetSpellInfo(entry));
|
||||
spellInfo->AttributesEx2 |= SPELL_ATTR2_CAN_TARGET_NOT_IN_LOS;
|
||||
}
|
||||
|
||||
break;
|
||||
// checked later
|
||||
|
||||
Reference in New Issue
Block a user