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

Method btnOkClick

src/Basescape/SoldierMemorialState.cpp:146–150  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

144 * @param action Pointer to an action.
145 */
146void SoldierMemorialState::btnOkClick(Action *)
147{
148 _game->popState();
149 _game->getResourcePack()->playMusic("GMGEO", true);
150}
151
152/**
153 * Shows the selected soldier's info.

Callers

nothing calls this directly

Calls 3

playMusicMethod · 0.80
popStateMethod · 0.45
getResourcePackMethod · 0.45

Tested by

no test coverage detected