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

Function CL_ClearState

code/client/cl_main.cpp:215–221  ·  view source on GitHub ↗

===================== CL_ClearState Called before parsing a gamestate ===================== */

Source from the content-addressed store, hash-verified

213=====================
214*/
215void CL_ClearState (void) {
216 CL_ShutdownCGame();
217
218 S_StopAllSounds();
219
220 memset( &cl, 0, sizeof( cl ) );
221}
222
223/*
224=====================

Callers 3

CL_ParseGamestateFunction · 0.70
CL_DisconnectFunction · 0.70
CL_InitFunction · 0.70

Calls 2

CL_ShutdownCGameFunction · 0.70
S_StopAllSoundsFunction · 0.70

Tested by

no test coverage detected