1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Fixed incorrect error messages from translations

This commit is contained in:
Ivan Savenko
2023-03-14 19:55:08 +02:00
parent f42a894723
commit 06e5d37fbd
3 changed files with 9 additions and 6 deletions

View File

@ -970,7 +970,7 @@ void CGHeroInstance::initExp(CRandomGenerator & rand)
std::string CGHeroInstance::nodeName() const
{
return "Hero " + getNameTranslated();
return "Hero " + getNameTextID();
}
std::string CGHeroInstance::getNameTranslated() const