mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-15 01:24:45 +02:00
fix two
This commit is contained in:
@ -401,12 +401,12 @@ void CExchangeWindow::update()
|
||||
{
|
||||
if(isMoreSkillsThanSlots)
|
||||
{
|
||||
secSkillsFull = std::make_shared<CMultiLineLabel>(Rect(Point(32 + 36 * m + 454 * leftRight, qeLayout ? 83 : 88), Point(34, 28)), EFonts::FONT_MEDIUM, ETextAlignment::CENTER, Colors::WHITE, "...");
|
||||
secSkillsFull[leftRight] = std::make_shared<CMultiLineLabel>(Rect(Point(32 + 36 * m + 454 * leftRight, qeLayout ? 83 : 88), Point(34, 28)), EFonts::FONT_MEDIUM, ETextAlignment::CENTER, Colors::WHITE, "...");
|
||||
secSkills[leftRight][m]->setSkill(SecondarySkill::NONE);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
secSkillsFull.reset();
|
||||
secSkillsFull[leftRight].reset();
|
||||
}
|
||||
|
||||
int id = hero->secSkills[m].first;
|
||||
|
Reference in New Issue
Block a user