* Selects a new base to display. * @param action Pointer to an action. */
| 484 | * @param action Pointer to an action. |
| 485 | */ |
| 486 | void BasescapeState::miniClick(Action *) |
| 487 | { |
| 488 | size_t base = _mini->getHoveredBase(); |
| 489 | if (base < _game->getSavedGame()->getBases()->size()) |
| 490 | { |
| 491 | _base = _game->getSavedGame()->getBases()->at(base); |
| 492 | init(); |
| 493 | } |
| 494 | } |
| 495 | |
| 496 | /** |
| 497 | * Selects a new base to display. |
nothing calls this directly
no test coverage detected