diff options
-rw-r--r-- | src/qcommon/files.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qcommon/files.c b/src/qcommon/files.c index eb7ff874..0fa49a8a 100644 --- a/src/qcommon/files.c +++ b/src/qcommon/files.c @@ -1590,9 +1590,11 @@ int FS_Seek( fileHandle_t f, long offset, int origin ) { } if (fsh[f].streamed) { + int r; fsh[f].streamed = qfalse; - FS_Seek( f, offset, origin ); + r = FS_Seek( f, offset, origin ); fsh[f].streamed = qtrue; + return r; } if (fsh[f].zipFile == qtrue) { |