mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
more correct export read for unreal beta, for correctness sake...
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@888 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
e14b5aca86
commit
18afae1775
1 changed files with 1 additions and 1 deletions
|
@ -183,8 +183,8 @@ static int read_export (fshandle_t *f, const struct upkg_hdr *hdr,
|
|||
return -1;
|
||||
|
||||
if (hdr->file_version < 40) idx += 8; /* 00 00 00 00 00 00 00 00 */
|
||||
if (hdr->file_version < 60) idx += 16; /* 81 00 00 00 00 00 FF FF FF FF FF FF FF FF 00 00 */
|
||||
get_fci(&buf[idx], &idx); /* skip junk */
|
||||
if (hdr->file_version < 60) idx += 16; /* 00 00 00 00 00 FF FF FF FF FF FF FF FF 00 00 00 */
|
||||
t = get_fci(&buf[idx], &idx); /* type_name */
|
||||
if (hdr->file_version > 61) idx += 4; /* skip export size */
|
||||
*objsize = get_fci(&buf[idx], &idx);
|
||||
|
|
Loading…
Reference in a new issue