mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
fix search in quick spell spellbook
This commit is contained in:
parent
31caf73383
commit
598f1b0738
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user