| 133 | } |
| 134 | |
| 135 | void AlienContainmentScreen::executeOrders() |
| 136 | { |
| 137 | int rightIdx = getRightIndex(); |
| 138 | |
| 139 | // AlienContainment: Simply apply |
| 140 | for (auto &c : transactionControls[Type::Aliens]) |
| 141 | { |
| 142 | int i = 0; |
| 143 | for (auto &b : state->player_bases) |
| 144 | { |
| 145 | if (c->tradeState.shipmentsFrom(i) > 0) |
| 146 | { |
| 147 | b.second->inventoryBioEquipment[c->itemId] = |
| 148 | c->tradeState.getStock(i, rightIdx, true); |
| 149 | } |
| 150 | i++; |
| 151 | } |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | }; // namespace OpenApoc |
nothing calls this directly
no test coverage detected