Fix custom sounds
This commit is contained in:
parent
a694bcea20
commit
5206e125df
|
@ -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