ioquake / ioq3

The ioquake3 community effort to continue supporting/developing id's Quake III Arena
https://ioquake3.org/
GNU General Public License v2.0
2.42k stars 529 forks source link

Fix reading non-sequential lumps in AAS files in pk3 files #691

Closed zturtleman closed 2 months ago

zturtleman commented 2 months ago

FS_Seek() doesn't always return 0 on success. If the file in a pk3 file it returns the seek offset. This change doesn't fix any known AAS files.

I found the issue when reviewing https://github.com/ioquake/ioq3/issues/690.