Browse Source

place in new line

Laserlicht 1 week ago
parent
commit
bc1ba60ea5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/adventureMap/CResDataBar.cpp

+ 1 - 1
client/adventureMap/CResDataBar.cpp

@@ -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));
 	}