Possible fix for bad iterator in config object (bug #25026).

Possibly introduced in 116ff67c. Confirmation on correctness of fix is pending.
Feel free to revert if this change is wrong.
This commit is contained in:
Wedge009 2016-09-01 18:20:00 +10:00
parent db2381806d
commit 3f10cc72ad

View file

@ -50,7 +50,7 @@ public:
int num_attacks() const { return num_attacks_; }
double attack_weight() const { return attack_weight_; }
double defense_weight() const { return defense_weight_; }
const config specials() const { return specials_; }
const config &specials() const { return specials_; }
void set_name(const t_string& value) { description_ = value; }
void set_id(const std::string& value) { id_ = value; }