mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
Remove excessive logging
This commit is contained in:
parent
aed0f09a7d
commit
3f60c1b0b3
@ -1337,13 +1337,6 @@ std::vector<SecondarySkill> CGHeroInstance::getLevelUpProposedSecondarySkills(CR
|
||||
if (canLearnSkill() && !none.empty() && skills.size() < 2)
|
||||
chooseSkill(none);
|
||||
|
||||
if (skills.empty())
|
||||
logGlobal->info("Selecting secondary skills: Nothing to select!");
|
||||
if (skills.size() == 1)
|
||||
logGlobal->info("Selecting secondary skills: %s (wisdom: %d, schools: %d)!", skills[0], skillsInfo.wisdomCounter, skillsInfo.magicSchoolCounter);
|
||||
if (skills.size() == 2)
|
||||
logGlobal->info("Selecting secondary skills: %s or %s (wisdom: %d, schools: %d)!", skills[0], skills[1], int(skillsInfo.wisdomCounter), int(skillsInfo.magicSchoolCounter));
|
||||
|
||||
return skills;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user