* Make sure we aren't returning to base. */
| 115 | * Make sure we aren't returning to base. |
| 116 | */ |
| 117 | void ConfirmLandingState::init() |
| 118 | { |
| 119 | State::init(); |
| 120 | Base* b = dynamic_cast<Base*>(_craft->getDestination()); |
| 121 | if (b == _craft->getBase()) |
| 122 | _game->popState(); |
| 123 | } |
| 124 | |
| 125 | /** |
| 126 | * Enters the mission. |
nothing calls this directly
no test coverage detected