MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / audio3changecallback

Function audio3changecallback

Descent3/pilot.cpp:2673–2684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2671}
2672
2673void audio3changecallback(int index) {
2674 if (index == 0) {
2675 AudioTauntPilot->set_multiplayer_data(NULL, NULL, NULL, NULL, "");
2676 return;
2677 } else {
2678 index--;
2679 char *p = GetStringInList(index, AudioTauntPilotSndInfo->files, AudioTauntPilotSndInfo->needed_size);
2680 if (p) {
2681 AudioTauntPilot->set_multiplayer_data(NULL, NULL, NULL, NULL, p);
2682 }
2683 }
2684}
2685
2686void audio4changecallback(int index) {
2687 if (index == 0) {

Callers

nothing calls this directly

Calls 2

GetStringInListFunction · 0.85
set_multiplayer_dataMethod · 0.80

Tested by

no test coverage detected