Skip to content

Commit

Permalink
Fix compile errors
Browse files Browse the repository at this point in the history
You know, it would be a lot better if people would either get a clean compile themselves, or use a PR and wait a few hours until Travis and AppVeyor pass their changes.

But, since people with direct push access don't bother making sure their changes actually compile, I suppose we'll always have stupid commits, like this one, cleaning up the mess.
  • Loading branch information
GregoryLundberg committed Feb 19, 2018
1 parent dcd2123 commit a3b513e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/units/types.cpp
Expand Up @@ -155,12 +155,12 @@ unit_type::~unit_type()

unit_type::ability_metadata::ability_metadata(const config& cfg)
: id(cfg["id"])
, name(cfg["name"])
, name_inactive(cfg["name_inactive"])
, female_name(cfg["female_name"])
, female_name_inactive(cfg["female_name_inactive"])
, description(cfg["description"])
, description_inactive(cfg["description_inactive"])
, name(cfg["name"].t_str())
, name_inactive(cfg["name_inactive"].t_str())
, female_name(cfg["female_name"].t_str())
, female_name_inactive(cfg["female_name_inactive"].t_str())
, description(cfg["description"].t_str())
, description_inactive(cfg["description_inactive"].t_str())
, affect_self(cfg["affect_self"].to_bool())
, affect_allies(cfg["affect_allies"].to_bool())
, affect_enemies(cfg["affect_enemies"].to_bool())
Expand Down

0 comments on commit a3b513e

Please sign in to comment.