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

Rename constant

This commit is contained in:
nordsoft
2023-05-02 14:45:53 +04:00
parent 96420bfc05
commit 7996123dfa
3 changed files with 4 additions and 4 deletions

View File

@@ -631,7 +631,7 @@ void CTownHandler::loadBuilding(CTown * town, const std::string & stringID, cons
if(source["type"].String() == "configurable" && ret->subId == BuildingSubID::NONE)
{
ret->subId = BuildingSubID::CONFIGURABLE_REWARD;
ret->subId = BuildingSubID::CUSTOM_VISITING_REWARD;
ret->rewardableObjectInfo.init(source);
}
}