mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 01:46:14 +00:00
Fill new map with the selected background terrain instead of grass.
This commit is contained in:
parent
c301634fda
commit
cd73e9c879
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user