Skip to content

Commit

Permalink
Fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
olanti-p committed Jan 9, 2023
1 parent d1e93e6 commit be913ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/character_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ int get_lift_strength( const Character &who )
return str;
}

int get_lift_strength_with_assistants( const Character &who )
int get_lift_strength_with_helpers( const Character &who )
{
int result = get_lift_strength( who );
const std::vector<npc *> helpers = get_crafting_helpers( who );
Expand All @@ -698,7 +698,7 @@ int get_lift_strength_with_assistants( const Character &who )

bool can_lift_with_helpers( const Character &who, int lift_required )
{
return get_lift_strength_with_assistants( who ) >= lift_required;
return get_lift_strength_with_helpers( who ) >= lift_required;
}

bool list_ammo( const Character &who, const item &base, std::vector<item_reload_option> &ammo_list,
Expand Down

0 comments on commit be913ac

Please sign in to comment.