Explorar o código

place in new line

Laserlicht hai 1 semana
pai
achega
bc1ba60ea5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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));
 	}