revert part of 2009-04-14T20:17:41Z!esr@thyrsus.com
change 'terrain_type' attribute in [rule] back to 'terrain', as it should be, according to the documentation. This fixes bug #14197
This commit is contained in:
parent
da54534954
commit
cbd72b6656
1 changed files with 1 additions and 1 deletions
|
@ -335,7 +335,7 @@ void gamemap::overlay(const gamemap& m, const config& rules_cfg, int xpos, int y
|
|||
if (rule != rules.second)
|
||||
{
|
||||
const config &cfg = *rule;
|
||||
const t_translation::t_list& terrain = t_translation::read_list(cfg["terrain_type"]);
|
||||
const t_translation::t_list& terrain = t_translation::read_list(cfg["terrain"]);
|
||||
|
||||
tmerge_mode mode = BOTH;
|
||||
if (cfg["layer"] == "base") {
|
||||
|
|
Loading…
Add table
Reference in a new issue