mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-21 00:19:29 +02:00
Always use ResourcePath for referencing images and animations
This commit is contained in:
@ -36,7 +36,7 @@ RoadType * RoadTypeHandler::loadFromJson(
|
||||
info->id = RoadId(index);
|
||||
info->identifier = identifier;
|
||||
info->modScope = scope;
|
||||
info->tilesFilename = json["tilesFilename"].String();
|
||||
info->tilesFilename = AnimationPath::fromJson(json["tilesFilename"]);
|
||||
info->shortIdentifier = json["shortIdentifier"].String();
|
||||
info->movementCost = json["moveCost"].Integer();
|
||||
|
||||
|
Reference in New Issue
Block a user