Merge pull request #546 from Wedge009/bug_23023_fix_(1.12)

Properly correct the broken Desert Sands / Oasis help entry (bug #23023) [1.12]
This commit is contained in:
Ignacio R. Morelle 2015-10-31 20:09:04 -03:00
commit a713f7e360
2 changed files with 1 additions and 2 deletions

View file

@ -313,7 +313,6 @@ Most units receive 20 to 40% defense in sand."
symbol_image=sand/desert-oasis
id=oasis
name= _ "Oasis"
editor_name= _ "Oasis"
default_base=Dd
string=^Do
aliasof=_bas

View file

@ -199,7 +199,7 @@ terrain_type::terrain_type(const terrain_type& base, const terrain_type& overlay
editor_image_(base.editor_image_ + "~BLIT(" + overlay.editor_image_ +")"),
id_(base.id_+"^"+overlay.id_),
name_(overlay.name_),
editor_name_(base.editor_name_ + " / " + overlay.editor_name_),
editor_name_((base.editor_name_.empty() ? base.name_ : base.editor_name_) + " / " + (overlay.editor_name_.empty() ? overlay.name_ : overlay.editor_name_)),
description_(overlay.description()),
help_topic_text_(),
number_(t_translation::t_terrain(base.number_.base, overlay.number_.overlay)),