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

First steps

This commit is contained in:
nordsoft
2023-09-27 22:53:13 +02:00
parent 97097c20ad
commit 03c099d4fd
18 changed files with 83 additions and 92 deletions

View File

@@ -1030,8 +1030,6 @@ si32 CGHeroInstance::manaLimit() const
std::string CGHeroInstance::getNameTranslated() const
{
if (!nameCustom.empty())
return nameCustom;
return VLC->generaltexth->translate(getNameTextID());
}
@@ -1049,9 +1047,6 @@ std::string CGHeroInstance::getNameTextID() const
std::string CGHeroInstance::getBiographyTranslated() const
{
if (!biographyCustom.empty())
return biographyCustom;
return VLC->generaltexth->translate(getBiographyTextID());
}