mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Fix resource creation
This commit is contained in:
@@ -56,7 +56,7 @@ void MapIdentifiersH3M::loadMapping(const JsonNode & mapping)
|
||||
std::string h3mName = boost::to_lower_copy(entryTemplate.second.String());
|
||||
std::string vcmiName = boost::to_lower_copy(entryTemplate.first);
|
||||
|
||||
if (!CResourceHandler::get()->existsResource(AnimationPath::builtin("SPRITES/" + vcmiName)))
|
||||
if (!CResourceHandler::get()->existsResource(AnimationPath::builtinTODO("SPRITES/" + vcmiName)))
|
||||
logMod->warn("Template animation file %s was not found!", vcmiName);
|
||||
|
||||
mappingObjectTemplate[h3mName] = vcmiName;
|
||||
|
||||
Reference in New Issue
Block a user