1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +02:00

Secondary skills strings are now passed through translator

This commit is contained in:
Ivan Savenko
2023-01-01 22:20:41 +02:00
parent 5da407e822
commit e22f6283c2
15 changed files with 65 additions and 52 deletions

View File

@ -133,7 +133,7 @@ void MetaString::getLocalString(const std::pair<ui8,ui32> &txt, std::string &dst
}
else if(type == SEC_SKILL_NAME)
{
dst = VLC->skillh->skillName(ser);
dst = VLC->skillh->getByIndex(ser)->getNameTranslated();
}
else
{