summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/qcommon/files.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/qcommon/files.c b/src/qcommon/files.c
index 0fa49a8a..8d9d832d 100644
--- a/src/qcommon/files.c
+++ b/src/qcommon/files.c
@@ -253,7 +253,6 @@ typedef struct qfile_us {
typedef struct {
qfile_ut handleFiles;
qboolean handleSync;
- int baseOffset;
int fileSize;
int zipFilePos;
qboolean zipFile;
@@ -3721,11 +3720,6 @@ int FS_FOpenFileByMode( const char *qpath, fileHandle_t *f, fsMode_t mode ) {
}
if ( *f ) {
- if (fsh[*f].zipFile == qtrue) {
- fsh[*f].baseOffset = unztell(fsh[*f].handleFiles.file.z);
- } else {
- fsh[*f].baseOffset = ftell(fsh[*f].handleFiles.file.o);
- }
fsh[*f].fileSize = r;
fsh[*f].streamed = qfalse;