return;
}
float i;
- string s;
for(i = 0; i < me.nItems; ++i)
{
if(argv(i) == track)
void XonoticPlayList_removeFromPlayList(entity me, string track)
{
float i;
- string s;
+ string s = "";
me.nItems = tokenize_console(cvar_string("music_playlist_list0"));
if(me.nItems == 0)
return;
void XonoticSoundList_getSounds(entity me)
{
string s;
- float i;
if(me.filterString)
//subdirectory in filterString allowed
- s=strcat("sound/cdtracks/*", me.filterString, "*.ogg");
+ s = strcat("sound/cdtracks/*", me.filterString, "*.ogg");
else
- s="sound/cdtracks/*.ogg";
+ s = "sound/cdtracks/*.ogg";
if(me.listSound >= 0)
search_end(me.listSound);