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:
parent
f155a35378
commit
3e0bb3a7cc
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user