1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Minor changes with BattleHex and BattleHexArray

This commit is contained in:
MichalZr6
2025-01-12 17:15:25 +01:00
parent e26fe815e9
commit 8f63a82d60
8 changed files with 31 additions and 17 deletions

View File

@@ -167,7 +167,7 @@ std::string CStack::nodeName() const
oss << owner.toString();
oss << " battle stack [" << ID << "]: " << getCount() << " of ";
if(typeID.hasValue())
oss << typeID.toEntity(VLC)->getNamePluralTextID();
oss << typeID.toCreature()->getNamePluralTranslated();
else
oss << "[UNDEFINED TYPE]";