1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Fonts will now correctly detect encoding of fonts from mods

This commit is contained in:
Ivan Savenko
2023-02-25 01:11:42 +02:00
parent 4260726e4b
commit 9b428e8231
5 changed files with 128 additions and 46 deletions

View File

@ -1106,6 +1106,9 @@ TModID CModHandler::findResourceOrigin(const ResourceID & name)
return modID;
}
if(CResourceHandler::get("core")->existsResource(name))
return "core";
assert(0);
return "";
}