Quickfix to broken use of "../scenery/something.png" in terrain-wml rules

now any images in "scenery/" works too
This commit is contained in:
Ali El Gariani 2008-07-26 23:05:20 +00:00
parent 98f6f6f9a7
commit 02aea45e24

View File

@ -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);