MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / btnPatrolClick

Method btnPatrolClick

src/Geoscape/GeoscapeCraftState.cpp:306–311  ·  view source on GitHub ↗

* Sets the craft to patrol the current location. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

304 * @param action Pointer to an action.
305 */
306void GeoscapeCraftState::btnPatrolClick(Action *)
307{
308 _game->popState();
309 _craft->setDestination(0);
310 delete _waypoint;
311}
312
313/**
314 * Closes the window.

Callers

nothing calls this directly

Calls 2

popStateMethod · 0.45
setDestinationMethod · 0.45

Tested by

no test coverage detected