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

Fixed copy-paste error

This commit is contained in:
Ivan Savenko 2023-01-09 19:14:21 +02:00
parent f155a35378
commit 3e0bb3a7cc

View File

@ -72,7 +72,7 @@ std::vector<std::string> BattleConsole::getVisibleText()
if (text.empty())
continue;
auto result = CMessage::breakText(consoleText, pos.w, FONT_SMALL);
auto result = CMessage::breakText(text, pos.w, FONT_SMALL);
if(result.size() > 2)
result.resize(2);