Fix custom sounds
This commit is contained in:
parent
95c00d5f59
commit
493c35fd03
|
@ -289,7 +289,7 @@ static bool mod_load_files(struct Mod* mod, char* modName, char* fullPath) {
|
||||||
// deal with sound directory
|
// deal with sound directory
|
||||||
{
|
{
|
||||||
const char* fileTypes[] = { ".m64", ".mp3", ".aiff", ".ogg", NULL };
|
const char* fileTypes[] = { ".m64", ".mp3", ".aiff", ".ogg", NULL };
|
||||||
if (!mod_load_files_dir(mod, fullPath, "levels", fileTypes)) { return false; }
|
if (!mod_load_files_dir(mod, fullPath, "sound", fileTypes)) { return false; }
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue