mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
Small cleanup
This commit is contained in:
parent
0fda90c67d
commit
226b737b6b
@ -119,7 +119,7 @@ bool CSpell::isCastableBy(const IBonusBearer * caster, bool hasSpellBook, const
|
||||
|
||||
forEachSchool([&](const SpellSchoolInfo & cnf, bool & stop)
|
||||
{
|
||||
if(school.at(cnf.id) && caster->hasBonusOfType(cnf.knoledgeBonus))
|
||||
if(caster->hasBonusOfType(cnf.knoledgeBonus))
|
||||
{
|
||||
inTome = stop = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user