1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Text container fix

This commit is contained in:
nordsoft
2023-10-11 01:26:07 +02:00
parent 8335fffaea
commit 6093f042dd
4 changed files with 12 additions and 6 deletions

View File

@@ -144,6 +144,9 @@ ui8 CMapHeader::levels() const
void CMapHeader::registerMapStrings()
{
VLC->generaltexth->removeSubContainer(*this);
VLC->generaltexth->addSubContainer(*this);
//get supported languages. Assuming that translation containing most strings is the base language
std::set<std::string> mapLanguages, mapBaseLanguages;
int maxStrings = 0;