Fixed the editor
This commit is contained in:
parent
b42308c570
commit
3d33e2c042
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ void terrain_palette::update_selected_terrains(void) {
|
|||
std::string terrain_palette::get_terrain_string(const gamemap::TERRAIN t) {
|
||||
std::stringstream str;
|
||||
const std::string& name = map_.get_terrain_info(t).name();
|
||||
const std::string& underlying = map_.underlying_terrain(t);
|
||||
const std::string& underlying = map_.underlying_union_terrain(t);
|
||||
str << name;
|
||||
if(underlying.size() != 1 || underlying[0] != t) {
|
||||
str << " (";
|
||||
|
|
Loading…
Add table
Reference in a new issue