Account for the "All" category too...
...when determining the category with the greatest amount of terrains (minor oversight in 2011-12-26T22:02:19Z!shadowm@wesnoth.org)
This commit is contained in:
parent
1e3ae570f1
commit
ea97606a4c
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ terrain_palette::terrain_palette(display &gui, const size_specs &sizes,
|
|||
if (core) {
|
||||
// Add the terrain to the default group
|
||||
terrain_map_["all"].push_back(t);
|
||||
nmax_terrains_ = std::max(nmax_terrains_, terrain_map_["all"].size());
|
||||
} else {
|
||||
non_core_terrains_.insert(t);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue