mirror of
				https://github.com/vcmi/vcmi.git
				synced 2025-10-31 00:07:39 +02:00 
			
		
		
		
	Small cleanup
This commit is contained in:
		| @@ -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; | ||||
| 		}				 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user