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

Function audio2changecallback

Descent3/pilot.cpp:2660–2671  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2658}
2659
2660void audio2changecallback(int index) {
2661 if (index == 0) {
2662 AudioTauntPilot->set_multiplayer_data(NULL, NULL, "");
2663 return;
2664 } else {
2665 index--;
2666 char *p = GetStringInList(index, AudioTauntPilotSndInfo->files, AudioTauntPilotSndInfo->needed_size);
2667 if (p) {
2668 AudioTauntPilot->set_multiplayer_data(NULL, NULL, p);
2669 }
2670 }
2671}
2672
2673void audio3changecallback(int index) {
2674 if (index == 0) {

Callers

nothing calls this directly

Calls 2

GetStringInListFunction · 0.85
set_multiplayer_dataMethod · 0.80

Tested by

no test coverage detected