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

Method btnBaseClick

src/Geoscape/GeoscapeCraftState.cpp:284–289  ·  view source on GitHub ↗

* Returns the craft back to its base. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

282 * @param action Pointer to an action.
283 */
284void GeoscapeCraftState::btnBaseClick(Action *)
285{
286 _game->popState();
287 _craft->returnToBase();
288 delete _waypoint;
289}
290
291/**
292 * Changes the craft's target.

Callers

nothing calls this directly

Calls 2

returnToBaseMethod · 0.80
popStateMethod · 0.45

Tested by

no test coverage detected