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

Method btnNextClick

src/Basescape/SoldierInfoState.cpp:634–640  ·  view source on GitHub ↗

* Goes to the next soldier. * @param action Pointer to an action. */

Source from the content-addressed store, hash-verified

632 * @param action Pointer to an action.
633 */
634void SoldierInfoState::btnNextClick(Action *)
635{
636 _soldierId++;
637 if (_soldierId >= _list->size())
638 _soldierId = 0;
639 init();
640}
641
642/**
643 * Shows the Select Armor window.

Callers

nothing calls this directly

Calls 1

initFunction · 0.85

Tested by

no test coverage detected