Help: these shouldn't be t_strings

This commit is contained in:
Charles Dang 2024-10-12 16:33:48 -04:00
parent b03caa9205
commit dfa8db1f72
2 changed files with 2 additions and 2 deletions

View file

@ -717,7 +717,7 @@ std::vector<topic> generate_trait_topics(const bool sort_generated)
// All traits that could be assigned to at least one discovered or HIDDEN_BUT_SHOW_MACROS unit.
// This is collected from the [units][trait], [race][traits], and [unit_type][traits] tags. If
// there are duplicates with the same id, it takes the first one encountered.
std::map<t_string, const config> trait_list;
std::map<std::string, const config> trait_list;
// The global traits that are direct children of a [units] tag
for (const config & trait : unit_types.traits()) {

View file

@ -46,7 +46,7 @@ namespace help {
struct terrain_movement_info
{
const t_string name;
const t_string id;
const std::string id;
const int defense;
const int movement_cost;
const int vision_cost;