1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Text of configurable/rewardable objects now uses translator

This commit is contained in:
Ivan Savenko
2023-07-19 22:25:52 +03:00
parent 280085b95d
commit 3a348abf4f
10 changed files with 99 additions and 31 deletions

View File

@@ -18,7 +18,7 @@ VCMI_LIB_NAMESPACE_BEGIN
void CRewardableConstructor::initTypeData(const JsonNode & config)
{
objectInfo.init(config);
objectInfo.init(config, getBaseTextID());
blockVisit = config["blockedVisitable"].Bool();
if (!config["name"].isNull())