Fill new map with the selected background terrain instead of grass.

This commit is contained in:
fendrin 2013-03-28 12:26:36 +01:00
parent c301634fda
commit cd73e9c879

View File

@ -178,7 +178,7 @@ void context_manager::new_map_dialog()
int w = get_map().w();
int h = get_map().h();
if(gui2::teditor_new_map::execute(w, h, gui_.video())) {
const t_translation::t_terrain fill = t_translation::GRASS_LAND;
const t_translation::t_terrain fill = get_selected_bg_terrain();
new_map(w, h, fill, preferences::editor::use_mdi());
}
}