mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +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(onSpellSelect)
|
||||||
{
|
{
|
||||||
if(spell->isCombat() == openOnBattleSpells && !spell->isSpecial() && !spell->isCreatureAbility())
|
if(spell->isCombat() == openOnBattleSpells && !spell->isSpecial() && !spell->isCreatureAbility() && searchTextFound)
|
||||||
mySpells.push_back(spell.get());
|
mySpells.push_back(spell.get());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user