Added a todo for after 1.4 branching.
This commit is contained in:
parent
3c8602399f
commit
5bf97deee2
1 changed files with 3 additions and 0 deletions
|
@ -152,6 +152,9 @@ unit_race::unit_race(const config& cfg) :
|
|||
global_traits_(!utils::string_bool(cfg["ignore_global_traits"]))
|
||||
|
||||
{
|
||||
//! @todo FIXME remove support after branching 1.4.
|
||||
//! 2 versions with lg::wml_error
|
||||
//! WML_ASSERT after that
|
||||
if(id_.empty()) {
|
||||
// This code is only for compatibility with old race defs.
|
||||
id_ = (cfg["name"]);
|
||||
|
|
Loading…
Add table
Reference in a new issue