Browse Source

checking tier is redundant and won't help here, will break things more

Emagi 5 months ago
parent
commit
f6354ca3ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EQ2/source/WorldServer/Player.cpp

+ 1 - 1
EQ2/source/WorldServer/Player.cpp

@@ -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__);