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

Method lessPress

src/Basescape/ResearchInfoState.cpp:264–267  ·  view source on GitHub ↗

* Starts the timeLess timer. * @param action Pointer to an Action. */

Source from the content-addressed store, hash-verified

262 * @param action Pointer to an Action.
263 */
264void ResearchInfoState::lessPress(Action *action)
265{
266 if (action->getDetails()->button.button == SDL_BUTTON_LEFT) _timerLess->start ();
267}
268
269/**
270 * Stops the timeLess timer.

Callers

nothing calls this directly

Calls 2

getDetailsMethod · 0.80
startMethod · 0.45

Tested by

no test coverage detected