mirror of
https://github.com/ENSL/NS.git
synced 2024-11-21 20:21:14 +00:00
remove title track from in-game music programatically
This commit is contained in:
parent
adb875bc40
commit
1677f6d7c8
1 changed files with 5 additions and 1 deletions
|
@ -233,7 +233,11 @@ bool UIHud::PickRandomSong(string& outRelativeSongName) const
|
|||
{
|
||||
do
|
||||
{
|
||||
theSongList.push_back(thePath + kDelimiter + string(theFindData.cFileName));
|
||||
// Remove title track from in-game music here so people updating don't have to remove the file.
|
||||
if (string(theFindData.cFileName) != string("ns_titlescreen.mp3"))
|
||||
{
|
||||
theSongList.push_back(thePath + kDelimiter + string(theFindData.cFileName));
|
||||
}
|
||||
}
|
||||
while(FindNextFile(theFileHandle, &theFindData));
|
||||
|
||||
|
|
Loading…
Reference in a new issue