set default target values for ALL races (update watchlist and set new default)
| 867 | |
| 868 | // set default target values for ALL races (update watchlist and set new default) |
| 869 | static void autobutcher_setDefaultTargetAll(color_ostream &out, unsigned fk, unsigned mk, unsigned fa, unsigned ma) { |
| 870 | for (auto w : watched_races) { |
| 871 | w.second->fk = fk; |
| 872 | w.second->mk = mk; |
| 873 | w.second->fa = fa; |
| 874 | w.second->ma = ma; |
| 875 | w.second->UpdateConfig(out); |
| 876 | } |
| 877 | autobutcher_setDefaultTargetNew(out, fk, mk, fa, ma); |
| 878 | } |
| 879 | |
| 880 | static void autobutcher_butcherRace(color_ostream &out, int id) { |
| 881 | for (auto unit : world->units.active) { |
nothing calls this directly
no test coverage detected