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:
parent
db2381806d
commit
3f10cc72ad
1 changed files with 1 additions and 1 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Reference in a new issue