MCPcopy Create free account
hub / github.com/JACoders/OpenJK / Script_Show

Function Script_Show

code/ui/ui_shared.cpp:2113–2122  ·  view source on GitHub ↗

================= Script_Show ================= */

Source from the content-addressed store, hash-verified

2111=================
2112*/
2113qboolean Script_Show(itemDef_t *item, const char **args)
2114{
2115 const char *name;
2116 if (String_Parse(args, &name))
2117 {
2118 Menu_ShowItemByName((menuDef_t *) item->parent, name, qtrue);
2119 }
2120
2121 return qtrue;
2122}
2123
2124
2125

Callers

nothing calls this directly

Calls 2

String_ParseFunction · 0.70
Menu_ShowItemByNameFunction · 0.70

Tested by

no test coverage detected