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

Function Music_GetLevelSetName

code/client/snd_music.cpp:1005–1015  ·  view source on GitHub ↗

info only, used in "soundinfo" command...

Source from the content-addressed store, hash-verified

1003// info only, used in "soundinfo" command...
1004//
1005const char *Music_GetLevelSetName(void)
1006{
1007 if (Q_stricmp(gsLevelNameForCompare.c_str(), gsLevelNameForLoad.c_str()))
1008 {
1009 // music remap via USES command...
1010 //
1011 return va("%s -> %s",gsLevelNameForCompare.c_str(), gsLevelNameForLoad.c_str());
1012 }
1013
1014 return gsLevelNameForLoad.c_str();
1015}
1016
1017///////////////// eof /////////////////////
1018

Callers 1

S_StartBackgroundTrackFunction · 0.70

Calls 3

Q_stricmpFunction · 0.85
vaFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected