* Functor that marks an XCOM base for retaliation. * This is required because of the iterator type. */
| 1013 | * This is required because of the iterator type. |
| 1014 | */ |
| 1015 | struct SetRetaliationTarget: public std::unary_function<std::map<const Region *, Base *>::value_type, void> |
| 1016 | { |
| 1017 | /// Mark as a valid retaliation target. |
| 1018 | void operator()(const argument_type &iter) const { iter.second->setRetaliationTarget(true); } |
| 1019 | }; |
| 1020 | |
| 1021 | /** |
| 1022 | * Takes care of any game logic that has to |