Selaa lähdekoodia

fix search in quick spell spellbook

Laserlicht 1 vuosi sitten
vanhempi
sitoutus
598f1b0738
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      client/windows/CSpellWindow.cpp

+ 1 - 1
client/windows/CSpellWindow.cpp

@@ -298,7 +298,7 @@ void CSpellWindow::processSpells()
 
 		if(onSpellSelect)
 		{
-			if(spell->isCombat() == openOnBattleSpells && !spell->isSpecial() && !spell->isCreatureAbility())
+			if(spell->isCombat() == openOnBattleSpells && !spell->isSpecial() && !spell->isCreatureAbility() && searchTextFound)
 				mySpells.push_back(spell.get());
 			continue;
 		}