mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-10 21:46:24 +00:00
Fixed a problem where the editor would go slower and slower...
...the more it was used.
This commit is contained in:
parent
5db4fd9d72
commit
5101bd5491
@ -101,6 +101,7 @@ void terrain_builder::rebuild_terrain(const gamemap::location &loc)
|
||||
void terrain_builder::rebuild_all() {
|
||||
tile_map_.reset();
|
||||
terrain_by_type_.clear();
|
||||
terrain_by_type_border_.clear();
|
||||
build_terrains();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user