1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-10-31 00:07:39 +02:00

place in new line

This commit is contained in:
Laserlicht
2025-10-11 22:07:32 +02:00
parent 850617afb0
commit bc1ba60ea5

View File

@@ -123,7 +123,7 @@ void CResDataBar::showPopupWindow(const Point & cursorPosition)
{
std::string text = std::to_string(GAME->interface()->cb->getResourceAmount(i));
if(incomeHandicapped[i])
text += " {lightgreen|(+" + std::to_string(incomeHandicapped[i]) + ")}";
text += "\n{lightgreen|(+" + std::to_string(incomeHandicapped[i]) + ")}";
comp.push_back(std::make_shared<CComponent>(ComponentType::RESOURCE, i, text));
}