Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg authored Dec 3, 2019
1 parent 28ddf21 commit 0be9402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/skill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ void Skill::load_skill( JsonObject &jsobj )
JsonArray ja = jsobj.get_array( "companion_skill_practice" );
while( ja.has_more() ) {
JsonObject jo = ja.next_object();
companion_skill_practice.emplace( jo.get_string( "companion_skill" ), jo.get_int( "weight" ) );
companion_skill_practice.emplace( jo.get_string( "skill" ), jo.get_int( "weight" ) );
}
skill_displayType_id display_type = skill_displayType_id( jsobj.get_string( "display_category" ) );
const Skill sk( ident, name, desc, jsobj.get_tags( "tags" ), display_type,
Expand Down

0 comments on commit 0be9402

Please sign in to comment.