| 4709 | } |
| 4710 | |
| 4711 | void BattleView::zoomLastEvent() |
| 4712 | { |
| 4713 | if (!state->messages.empty()) |
| 4714 | { |
| 4715 | auto message = state->messages.back(); |
| 4716 | if (message.location != EventMessage::NO_LOCATION) |
| 4717 | { |
| 4718 | zoomAt(message.location); |
| 4719 | } |
| 4720 | } |
| 4721 | } |
| 4722 | bool SquadInfo::operator==(const SquadInfo &other) const |
| 4723 | { |
| 4724 | return this->selectedMode == other.selectedMode && this->units == other.units; |