MCPcopy Create free account
hub / github.com/assaultcube/AC / select

Method select

source/src/menus.cpp:473–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471 }
472
473 virtual int select()
474 {
475 int result = 0;
476 if(parent->menusel == parent->items.length() - 1)
477 {
478 const char *tmp = text;
479 text = input.buf;
480 result = mitemmanual::select();
481 text = tmp;
482 textinput(result, TI_MENU);
483 }
484 return result;
485 }
486
487 void setdefaultvalue()
488 {

Callers

nothing calls this directly

Calls 2

textinputFunction · 0.85
lengthMethod · 0.45

Tested by

no test coverage detected