mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Use ResourcePath for referencing texts and json's
This commit is contained in:
@@ -146,7 +146,7 @@ void CSkill::serializeJson(JsonSerializeFormat & handler)
|
||||
///CSkillHandler
|
||||
std::vector<JsonNode> CSkillHandler::loadLegacyData()
|
||||
{
|
||||
CLegacyConfigParser parser("DATA/SSTRAITS.TXT");
|
||||
CLegacyConfigParser parser(TextPath::builtin("DATA/SSTRAITS.TXT"));
|
||||
|
||||
//skip header
|
||||
parser.endLine();
|
||||
|
||||
Reference in New Issue
Block a user