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

Method btnDefaultClick

src/Menu/OptionsBaseState.cpp:268–271  ·  view source on GitHub ↗

* Restores the Options to default settings. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

266 * @param action Pointer to an action.
267 */
268void OptionsBaseState::btnDefaultClick(Action *action)
269{
270 _game->pushState(new OptionsDefaultsState(_game, _origin, this));
271}
272
273void OptionsBaseState::btnGroupPress(Action *action)
274{

Callers

nothing calls this directly

Calls 1

pushStateMethod · 0.80

Tested by

no test coverage detected