mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-13 20:16:40 +00:00
Quickfix to broken use of "../scenery/something.png" in terrain-wml rules
now any images in "scenery/" works too
This commit is contained in:
parent
98f6f6f9a7
commit
02aea45e24
@ -162,6 +162,8 @@ terrain_builder::terrain_builder(const config& cfg, const config& level,
|
||||
//image::flush_cache();
|
||||
|
||||
image::precache_file_existence("terrain/");
|
||||
// some terrain rules also use scenery images
|
||||
image::precache_file_existence("scenery/");
|
||||
parse_config(cfg);
|
||||
parse_config(level);
|
||||
add_off_map_rule(offmap_image);
|
||||
|
Loading…
x
Reference in New Issue
Block a user