mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 04:17:20 +00:00
Cosmetic fixes on obsoletion messages
This commit is contained in:
parent
5c3d8d2f59
commit
31eb999674
@ -61,7 +61,7 @@ report generate_report(TYPE type,
|
||||
switch(type) {
|
||||
// this one is for backward compatibility (should be removed in v1.5.3)
|
||||
case UNIT_NAME_OLD:
|
||||
std::cerr << "warning: ThemeWML [unit_description] tag will be removed in 1.5.3, run wmllint on WML defining " << std::endl;
|
||||
std::cerr << "warning: ThemeWML [unit_description] tag will be removed in 1.5.3, run wmllint" << std::endl;
|
||||
case UNIT_NAME:
|
||||
return report(u->second.name(),"",u->second.name());
|
||||
case UNIT_TYPE:
|
||||
|
@ -926,7 +926,7 @@ void game_data::set_config(const config& cfg)
|
||||
if (insertion.second) {
|
||||
insertion.first->second.build(**i.first,movement_types,races,unit_traits);
|
||||
}
|
||||
std::cerr << "warning: UnitWML [unit] tag will be removed in 1.5.3, run wmllint on WML defining " << id << " to convert it to using [unit_type]";
|
||||
std::cerr << "warning: UnitWML [unit] tag will be removed in 1.5.3, run wmllint on WML defining " << id << " to convert it to using [unit_type]" << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user