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

Method btnCancelClick

src/Basescape/SoldierArmorState.cpp:136–139  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

134 * @param action Pointer to an action.
135 */
136void SoldierArmorState::btnCancelClick(Action *)
137{
138 _game->popState();
139}
140
141/**
142 * Equips the armor on the soldier and returns to the previous screen.

Callers

nothing calls this directly

Calls 1

popStateMethod · 0.45

Tested by

no test coverage detected