Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/wesnoth/wesnoth
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Jun 30, 2014
2 parents 99d8523 + 5b71c72 commit 8c1656d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelog
Expand Up @@ -82,6 +82,9 @@ Version 1.13.0-dev:
without contents or in the wrong state during WML start events until they
are interacted with or control is given to the player for the first time.
* Added a new subdialog in Preferences to clean or purge the WML cache.
* Fixed AI engine names in the MP game setup screen being translated to the
language selected when Wesnoth was started rather than the current
language (bug #22092).
* WML engine:
* Added customizable recall costs for unit types and individual units,
using the new recall_cost attribute in [unit_type] and [unit].
Expand Down
4 changes: 2 additions & 2 deletions src/ai/configuration.cpp
Expand Up @@ -112,7 +112,7 @@ void configuration::init(const config &game_config)

description desc;
desc.id=id;
desc.text = ai_configuration["description"].str();
desc.text = ai_configuration["description"].t_str();
desc.cfg=ai_configuration;

ai_configurations_.insert(std::make_pair(id,desc));
Expand All @@ -137,7 +137,7 @@ void extract_ai_configurations(std::map<std::string, description> &storage, cons

description desc;
desc.id=id;
desc.text = ai_configuration["description"].str();
desc.text = ai_configuration["description"].t_str();
desc.cfg=ai_configuration;

storage.insert(std::make_pair(id,desc));
Expand Down
2 changes: 1 addition & 1 deletion src/ai/configuration.hpp
Expand Up @@ -51,7 +51,7 @@ struct description {
{
}

std::string text;
t_string text;
std::string id;
config cfg;
};
Expand Down

0 comments on commit 8c1656d

Please sign in to comment.