1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Removed debug output

This commit is contained in:
Ivan Savenko 2014-08-11 17:27:41 +03:00
parent 092df7a71c
commit cc61ffca73

View File

@ -777,12 +777,7 @@ void CStackWindow::init()
selectedIcon = nullptr;
selectedSkill = 0;
if (info->levelupInfo)
{
selectedSkill = info->levelupInfo->skills.front();
logGlobal->debugStream() << "Received commander level-up. Possible options are: ";
for (auto skill : info->levelupInfo->skills)
logGlobal->debugStream() << "Skill #" << skill;
}
commanderTab = nullptr;
activeTab = 0;
@ -867,8 +862,5 @@ CStackWindow::CStackWindow(const CCommanderInstance * commander, std::vector<ui3
CStackWindow::~CStackWindow()
{
if (info->levelupInfo)
{
logGlobal->debugStream() << "Selected skill was " << selectedSkill;
info->levelupInfo->callback(vstd::find_pos(info->levelupInfo->skills, selectedSkill));
}
}