From 3b1b8fac0d8e7b2c6b229df30d864d2f12b811d2 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sat, 21 Sep 2024 21:31:46 +0000 Subject: [PATCH] style(autofix.ci): automated formatting --- data/raw/keybindings/keybindings.json | 2 +- src/ranged.h | 6 ++++-- src/ranged_aoe.cpp | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/data/raw/keybindings/keybindings.json b/data/raw/keybindings/keybindings.json index bad617afcc6b..0f005463f43b 100644 --- a/data/raw/keybindings/keybindings.json +++ b/data/raw/keybindings/keybindings.json @@ -3268,7 +3268,7 @@ "name": "Disassemble", "bindings": [ { "input_method": "keyboard", "key": "D" } ] }, - { + { "id": "SHOW_KILL_LIST", "type": "keybinding", "category": "INVENTORY_ITEM", diff --git a/src/ranged.h b/src/ranged.h index d2309a45092c..257faf77f63b 100644 --- a/src/ranged.h +++ b/src/ranged.h @@ -107,11 +107,13 @@ float str_draw_range_modifier( const item &it, const Character &p ); std::optional 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 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 &aoe ); diff --git a/src/ranged_aoe.cpp b/src/ranged_aoe.cpp index fbd8e69eb908..2b4221882b0c 100644 --- a/src/ranged_aoe.cpp +++ b/src/ranged_aoe.cpp @@ -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 ) {