mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
Fix build
This commit is contained in:
@ -151,7 +151,7 @@ void CBonusTypeHandler::loadItem(const JsonNode & source, CBonusType & dest, con
|
||||
for (const auto & additionalIcon : graphics["subtypeIcons"].Struct())
|
||||
{
|
||||
auto path = ImagePath::fromJson(additionalIcon.second);
|
||||
VLC->identifiers()->requestIdentifier(additionalIcon.second.getModScope(), additionalIcon.first, [&dest, path](int32_t index)
|
||||
LIBRARY->identifiers()->requestIdentifier(additionalIcon.second.getModScope(), additionalIcon.first, [&dest, path](int32_t index)
|
||||
{
|
||||
dest.subtypeIcons[index] = path;
|
||||
});
|
||||
|
Reference in New Issue
Block a user