mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Always use ResourcePath for referencing images and animations
This commit is contained in:
@@ -152,7 +152,7 @@ bool CModInfo::checkModGameplayAffecting() const
|
||||
"obstacles"
|
||||
};
|
||||
|
||||
ResourceID modFileResource(CModInfo::getModFile(identifier));
|
||||
ResourcePath modFileResource(CModInfo::getModFile(identifier));
|
||||
|
||||
if(CResourceHandler::get("initial")->existsResource(modFileResource))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user