mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 04:12:39 +00:00
Remove unused variable baseOffset from fsh[]
This commit is contained in:
parent
90c98c90a3
commit
c69db4a400
1 changed files with 0 additions and 6 deletions
|
@ -275,7 +275,6 @@ typedef struct qfile_us {
|
|||
typedef struct {
|
||||
qfile_ut handleFiles;
|
||||
qboolean handleSync;
|
||||
int baseOffset;
|
||||
int fileSize;
|
||||
int zipFilePos;
|
||||
qboolean zipFile;
|
||||
|
@ -4014,11 +4013,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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue