* Sets the craft to patrol the current location. * @param action Pointer to an action. */
| 304 | * @param action Pointer to an action. |
| 305 | */ |
| 306 | void GeoscapeCraftState::btnPatrolClick(Action *) |
| 307 | { |
| 308 | _game->popState(); |
| 309 | _craft->setDestination(0); |
| 310 | delete _waypoint; |
| 311 | } |
| 312 | |
| 313 | /** |
| 314 | * Closes the window. |
nothing calls this directly
no test coverage detected