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

Method btnRedirectClick

src/Geoscape/CraftPatrolState.cpp:113–117  ·  view source on GitHub ↗

* Opens up the Craft window. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

111 * @param action Pointer to an action.
112 */
113void CraftPatrolState::btnRedirectClick(Action *)
114{
115 _game->popState();
116 _game->pushState(new GeoscapeCraftState(_game, _craft, _globe, 0));
117}
118
119}

Callers

nothing calls this directly

Calls 2

pushStateMethod · 0.80
popStateMethod · 0.45

Tested by

no test coverage detected