1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

spell description, not spell roll

This commit is contained in:
Laserlicht 2024-09-28 12:53:57 +02:00
parent afb90c076d
commit 5bb29732d0

View File

@ -2053,7 +2053,7 @@ void CMageGuildScreen::Scroll::clickPressed(const Point & cursorPosition)
cost[EGameResID::GEMS] = (level + 1) * 2;
std::vector<std::shared_ptr<CComponent>> resComps;
resComps.push_back(std::make_shared<CComponent>(ComponentType::SPELL_SCROLL, town->spells[level].at(town->spellsAtLevel(level, false))));
resComps.push_back(std::make_shared<CComponent>(ComponentType::SPELL, town->spells[level].at(town->spellsAtLevel(level, false))));
resComps.back()->newLine = true;
for(TResources::nziterator i(cost); i.valid(); i++)
{