Skip to content

Commit

Permalink
style(autofix.ci): automated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] committed Sep 21, 2024
1 parent 8f53113 commit 3b1b8fa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion data/raw/keybindings/keybindings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3268,7 +3268,7 @@
"name": "Disassemble",
"bindings": [ { "input_method": "keyboard", "key": "D" } ]
},
{
{
"id": "SHOW_KILL_LIST",
"type": "keybinding",
"category": "INVENTORY_ITEM",
Expand Down
6 changes: 4 additions & 2 deletions src/ranged.h
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,13 @@ float str_draw_range_modifier( const item &it, const Character &p );
std::optional<shape_factory> get_shape_factory( const item &gun );

/** AoE attack, with area given by shape */
void execute_shaped_attack( const shape &sh, const projectile &proj, Creature &attacker, item *s_weapon );
void execute_shaped_attack( const shape &sh, const projectile &proj, Creature &attacker,
item *s_weapon );

std::map<tripoint, double> expected_coverage( const shape &sh, const map &here, int bash_power );

dealt_damage_instance hit_with_aoe( Creature &target, Creature *source, item *s_weapon, const damage_instance &di );
dealt_damage_instance hit_with_aoe( Creature &target, Creature *source, item *s_weapon,
const damage_instance &di );

void draw_cone_aoe( const tripoint &origin, const std::map<tripoint, double> &aoe );

Expand Down
3 changes: 2 additions & 1 deletion src/ranged_aoe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ struct aoe_flood_node {
namespace ranged
{

void execute_shaped_attack( const shape &sh, const projectile &proj, Creature &attacker, item *s_weapon)
void execute_shaped_attack( const shape &sh, const projectile &proj, Creature &attacker,
item *s_weapon )
{
map &here = get_map();
const auto sigdist_to_coverage = []( const double sigdist ) {
Expand Down

0 comments on commit 3b1b8fa

Please sign in to comment.