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

Function Item_HandleAccept

code/ui/ui_shared.cpp:11094–11102  ·  view source on GitHub ↗

JLFACCEPT MPMOVED ----------------------------------------- Item_HandleAccept If Item has an accept script, run it. ------------------------------------------- */

Source from the content-addressed store, hash-verified

11092-------------------------------------------
11093*/
11094qboolean Item_HandleAccept(itemDef_t * item)
11095{
11096 if (item->accept)
11097 {
11098 Item_RunScript(item, item->accept);
11099 return qtrue;
11100 }
11101 return qfalse;
11102}
11103
11104
11105//JLFDPADSCRIPT MPMOVED

Callers 1

Menu_HandleKeyFunction · 0.70

Calls 1

Item_RunScriptFunction · 0.70

Tested by

no test coverage detected