--------------------------------------- SHIFT SELECT CONSTRUCTOR ---------------------------------------
| 62 | } |
| 63 | //--------------------------------------- SHIFT SELECT CONSTRUCTOR --------------------------------------- |
| 64 | SelectAdd::SelectAdd(int count, const BWAPI::Unit *units) |
| 65 | { |
| 66 | targCount = 0; |
| 67 | for (int i = 0; i < count && i < MAX_SELECTION_COUNT; ++i) |
| 68 | { |
| 69 | if (units[i]) |
| 70 | targets[targCount++] = UnitTarget(units[i]); |
| 71 | } |
| 72 | } |
| 73 | SelectAdd::SelectAdd(int count, const BW::CUnit **units) |
| 74 | { |
| 75 | targCount = 0; |