mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-13 14:28:01 +00:00
snd_codec.c (S_CodecUtilOpen): fix again after rev.410.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@411 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
ed1958d1ff
commit
1be80dc881
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ snd_stream_t *S_CodecUtilOpen(const char *filename, snd_codec_t *codec)
|
|||
/* Try to open the file */
|
||||
length = (long) COM_FOpenFile(filename, &handle, NULL);
|
||||
pak = file_from_pak;
|
||||
if (length == (size_t)-1)
|
||||
if (length == -1)
|
||||
{
|
||||
Con_DPrintf("Couldn't open %s\n", filename);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue