mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-09 13:14:02 +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())
|
if (text.empty())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
auto result = CMessage::breakText(consoleText, pos.w, FONT_SMALL);
|
auto result = CMessage::breakText(text, pos.w, FONT_SMALL);
|
||||||
|
|
||||||
if(result.size() > 2)
|
if(result.size() > 2)
|
||||||
result.resize(2);
|
result.resize(2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user