MCPcopy Create free account
hub / github.com/diasurgical/devilution / effects_cleanup_sfx

Function effects_cleanup_sfx

Source/effects.cpp:1166–1178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1164}
1165
1166void effects_cleanup_sfx()
1167{
1168 DWORD i;
1169
1170 FreeMonsterSnd();
1171
1172 for (i = 0; i < sizeof(sgSFX) / sizeof(TSFX); i++) {
1173 if (sgSFX[i].pSnd) {
1174 sound_file_cleanup(sgSFX[i].pSnd);
1175 sgSFX[i].pSnd = NULL;
1176 }
1177 }
1178}
1179
1180void stream_update()
1181{

Callers

nothing calls this directly

Calls 2

FreeMonsterSndFunction · 0.85
sound_file_cleanupFunction · 0.85

Tested by

no test coverage detected