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

Function PS_SetBaseFolder

codemp/botlib/l_script.cpp:1451–1458  ·  view source on GitHub ↗

end of the function FreeScript ============================================================================ Parameter: - Returns: - Changes Globals: - ============================================================================

Source from the content-addressed store, hash-verified

1449// Changes Globals: -
1450//============================================================================
1451void PS_SetBaseFolder(char *path)
1452{
1453#ifdef BSPC
1454 sprintf(basefolder, path);
1455#else
1456 Com_sprintf(basefolder, sizeof(basefolder), "%s", path);
1457#endif
1458} //end of the function PS_SetBaseFolder

Callers 2

PC_LoadSourceHandleFunction · 0.85
PC_SetBaseFolderFunction · 0.85

Calls 1

Com_sprintfFunction · 0.50

Tested by

no test coverage detected