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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user