Fixed a problem where the editor would go slower and slower...

...the more it was used.
This commit is contained in:
Kristoffer Erlandsson 2004-07-12 18:52:53 +00:00
parent 5db4fd9d72
commit 5101bd5491

View File

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