1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Small cleanup

This commit is contained in:
AlexVinS 2014-11-25 14:51:55 +03:00
parent 0fda90c67d
commit 226b737b6b

View File

@ -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;
}