summaryrefslogtreecommitdiff
path: root/src/client/snd_codec_ogg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/snd_codec_ogg.c')
-rw-r--r--src/client/snd_codec_ogg.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/snd_codec_ogg.c b/src/client/snd_codec_ogg.c
index 882bfcb4..eb187be9 100644
--- a/src/client/snd_codec_ogg.c
+++ b/src/client/snd_codec_ogg.c
@@ -158,11 +158,8 @@ int S_OGG_Callback_seek(void *datasource, ogg_int64_t offset, int whence)
case SEEK_END :
{
- // Quake 3 seems to have trouble with FS_SEEK_END
- // so we use the file length and FS_SEEK_SET
-
// set the file position in the actual file with the Q3 function
- retVal = FS_Seek(stream->file, (long) stream->length + (long) offset, FS_SEEK_SET);
+ retVal = FS_Seek(stream->file, (long) offset, FS_SEEK_END);
// something has gone wrong, so we return here
if(retVal < 0)