mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Always use ResourcePath for referencing images and animations
This commit is contained in:
@@ -51,7 +51,7 @@ int CMapGenerator::getRandomSeed() const
|
||||
|
||||
void CMapGenerator::loadConfig()
|
||||
{
|
||||
static const ResourceID path("config/randomMap.json");
|
||||
static const ResourcePath path("config/randomMap.json");
|
||||
JsonNode randomMapJson(path);
|
||||
|
||||
config.shipyardGuard = randomMapJson["waterZone"]["shipyard"]["value"].Integer();
|
||||
|
||||
Reference in New Issue
Block a user