checking tier is redundant and won't help here, will break things more
This commit is contained in:
parent
e83b8ea13d
commit
f6354ca3ef
1 changed files with 1 additions and 1 deletions
|
@ -2669,7 +2669,7 @@ vector<Spell*> Player::GetSpellBookSpellsByTimer(Spell* spell, int32 timerID) {
|
|||
vector<SpellBookEntry*>::iterator itr;
|
||||
MSpellsBook.readlock(__FUNCTION__, __LINE__);
|
||||
for (itr = spells.begin(); itr != spells.end(); itr++) {
|
||||
if ((*itr)->timer == timerID && spell->GetSpellID() != (*itr)->spell_id && spell->GetSpellTier() != (*itr)->tier)
|
||||
if ((*itr)->timer == timerID && spell->GetSpellID() != (*itr)->spell_id)
|
||||
ret.push_back(master_spell_list.GetSpell((*itr)->spell_id, (*itr)->tier));
|
||||
}
|
||||
MSpellsBook.releasereadlock(__FUNCTION__, __LINE__);
|
||||
|
|
Loading…
Reference in a new issue