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

Method btnGotoBaseClick

src/Geoscape/InterceptState.cpp:186–190  ·  view source on GitHub ↗

* Goes to the base for the respective craft. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

184 * @param action Pointer to an action.
185 */
186void InterceptState::btnGotoBaseClick(Action *)
187{
188 _game->popState();
189 _game->pushState(new BasescapeState(_game, _base, _globe));
190}
191
192/**
193 * Pick a target for the selected craft.

Callers

nothing calls this directly

Calls 2

pushStateMethod · 0.80
popStateMethod · 0.45

Tested by

no test coverage detected