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

Function Script_Hide

code/ui/ui_shared.cpp:2148–2157  ·  view source on GitHub ↗

================= Script_Hide ================= */

Source from the content-addressed store, hash-verified

2146=================
2147*/
2148qboolean Script_Hide(itemDef_t *item, const char **args)
2149{
2150 const char *name;
2151 if (String_Parse(args, &name))
2152 {
2153 Menu_ShowItemByName((menuDef_t *) item->parent, name, qfalse);
2154 }
2155
2156 return qtrue;
2157}
2158
2159/*
2160=================

Callers

nothing calls this directly

Calls 2

String_ParseFunction · 0.70
Menu_ShowItemByNameFunction · 0.70

Tested by

no test coverage detected