1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Change resourceID with ResourcePath

This commit is contained in:
nordsoft 2023-09-08 01:54:29 +02:00
parent 8c94d082c8
commit bb4905af48

View File

@ -89,7 +89,7 @@ void CModManager::loadMods()
{
//calculate mod size
qint64 total = 0;
ResourceID resDir(CModInfo::getModDir(modname), EResType::DIRECTORY);
ResourcePath resDir(CModInfo::getModDir(modname), EResType::DIRECTORY);
if(CResourceHandler::get()->existsResource(resDir))
{
for(QDirIterator iter(QString::fromStdString(CResourceHandler::get()->getResourceName(resDir)->string()), QDirIterator::Subdirectories); iter.hasNext(); iter.next())