mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Always use ResourcePath for referencing images and animations
This commit is contained in:
@@ -28,7 +28,7 @@ TerrainType * TerrainTypeHandler::loadFromJson( const std::string & scope, const
|
||||
info->modScope = scope;
|
||||
info->moveCost = static_cast<int>(json["moveCost"].Integer());
|
||||
info->musicFilename = json["music"].String();
|
||||
info->tilesFilename = json["tiles"].String();
|
||||
info->tilesFilename = AnimationPath::fromJson(json["tiles"]);
|
||||
info->horseSound = json["horseSound"].String();
|
||||
info->horseSoundPenalty = json["horseSoundPenalty"].String();
|
||||
info->transitionRequired = json["transitionRequired"].Bool();
|
||||
|
||||
Reference in New Issue
Block a user