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

Method btnCancelClick

src/Basescape/CraftWeaponsState.cpp:143–146  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

141 * @param action Pointer to an action.
142 */
143void CraftWeaponsState::btnCancelClick(Action *)
144{
145 _game->popState();
146}
147
148/**
149 * Equips the weapon on the craft and returns to the previous screen.

Callers

nothing calls this directly

Calls 1

popStateMethod · 0.45

Tested by

no test coverage detected