mp: Ignore formatting markup in era names

This commit is contained in:
Ignacio R. Morelle 2015-04-23 20:13:20 -03:00
parent 2765b538b7
commit 2b116681d3
2 changed files with 4 additions and 1 deletions

View file

@ -1,6 +1,8 @@
Version 1.12.4+dev:
* Language and i18n:
* Updated translations:
* Multiplayer:
* Era names no longer support formatting markup in the game setup screen.
* Miscellaneous and bug fixes:
* Default to non-strict compilation with CMake.

View file

@ -21,6 +21,7 @@
#include "log.hpp"
#include "generators/map_create.hpp"
#include "map_exception.hpp"
#include "marked-up_text.hpp"
#include "minimap.hpp"
#include "wml_separators.hpp"
#include "wml_exception.hpp"
@ -533,7 +534,7 @@ std::vector<std::string> create_engine::extras_menu_item_names(
BOOST_FOREACH(extras_metadata_ptr extra,
get_const_extras_by_type(extra_type)) {
names.push_back(extra->name);
names.push_back(font::NULL_MARKUP + extra->name);
}
return names;