mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Allow sound files from OS disk in pure mode
This commit is contained in:
parent
b007842fb4
commit
67d8cad64d
1 changed files with 5 additions and 1 deletions
|
@ -1494,7 +1494,11 @@ long FS_FOpenFileReadDir(const char *filename, searchpath_t *search, fileHandle_
|
|||
!FS_IsExt(filename, ".menu", len) && // menu files
|
||||
!FS_IsExt(filename, ".game", len) && // menu files
|
||||
!FS_IsExt(filename, ".dat", len) && // for journal files
|
||||
!FS_IsDemoExt(filename, len)) // demos
|
||||
!FS_IsExt(filename, ".wav", len) && // sound files
|
||||
!FS_IsExt(filename, ".mp3", len) && // sound files
|
||||
!FS_IsExt(filename, ".ogg", len) && // sound files
|
||||
!FS_IsDemoExt(filename, len) // demos
|
||||
)
|
||||
{
|
||||
*file = 0;
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue