mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Use ResourcePath for referencing texts and json's
This commit is contained in:
@@ -127,7 +127,7 @@ std::vector<JsonNode> TerrainTypeHandler::loadLegacyData()
|
||||
|
||||
objects.resize(dataSize);
|
||||
|
||||
CLegacyConfigParser terrainParser("DATA/TERRNAME.TXT");
|
||||
CLegacyConfigParser terrainParser(TextPath::builtin("DATA/TERRNAME.TXT"));
|
||||
|
||||
std::vector<JsonNode> result;
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user