| 2830 | } |
| 2831 | |
| 2832 | void BattleView::orderFire(Vec3<int> target, WeaponStatus status, bool modifier) |
| 2833 | { |
| 2834 | bool atGround = modifier || !config().getBool("OpenApoc.NewFeature.AllowForceFiringParallel"); |
| 2835 | for (auto &unit : battle.battleViewSelectedUnits) |
| 2836 | { |
| 2837 | unit->startAttacking(*state, target, status, atGround); |
| 2838 | } |
| 2839 | } |
| 2840 | |
| 2841 | void BattleView::orderFire(StateRef<BattleUnit> shooter, Vec3<int> target, WeaponStatus status) |
| 2842 | { |
nothing calls this directly
no test coverage detected