Clarify false default of [terrain_mask] border= as expected
The wiki states this is supposed to be false. gamemap::overlay already gives border= a default false value, but this clarifies the value, code-wise.
This commit is contained in:
parent
fcf8b72efd
commit
079692d424
1 changed files with 1 additions and 1 deletions
|
@ -1572,7 +1572,7 @@ WML_HANDLER_FUNCTION(terrain_mask, /*event_info*/, cfg)
|
|||
return;
|
||||
}
|
||||
|
||||
bool border = cfg["border"].to_bool();
|
||||
const bool border = cfg["border"].to_bool(false);
|
||||
resources::gameboard->overlay_map(mask_map, cfg.get_parsed_config(), loc, border);
|
||||
resources::screen->needs_rebuild(true);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue