mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
translation / 6 slots for big book
This commit is contained in:
@@ -158,7 +158,7 @@ CSpellWindow::CSpellWindow(const CGHeroInstance * _myHero, CPlayerInterface * _m
|
||||
for(const auto schoolId : LIBRARY->spellSchoolHandler->getAllObjects())
|
||||
if(
|
||||
!isLegacySpellSchool(schoolId) &&
|
||||
customSpellSchools.size() < MAX_CUSTOM_SPELL_SCHOOLS &&
|
||||
customSpellSchools.size() < (isBigSpellbook ? MAX_CUSTOM_SPELL_SCHOOLS_BIG : MAX_CUSTOM_SPELL_SCHOOLS) &&
|
||||
!LIBRARY->spellSchoolHandler->getById(schoolId)->getSchoolBookmarkPath().empty() &&
|
||||
!LIBRARY->spellSchoolHandler->getById(schoolId)->getSchoolHeaderPath().empty()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user