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

Method btnCancelClick

src/Menu/NewGameState.cpp:171–175  ·  view source on GitHub ↗

* Returns to the previous screen. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

169 * @param action Pointer to an action.
170 */
171void NewGameState::btnCancelClick(Action *)
172{
173 _game->setSavedGame(0);
174 _game->popState();
175}
176
177}

Callers

nothing calls this directly

Calls 2

setSavedGameMethod · 0.80
popStateMethod · 0.45

Tested by

no test coverage detected