mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-12 19:06:09 -10:00
Invalid values previously corrupted the internal position counter which caused crashes on some platforms because the position counter would overflow in the next read operation. I added some assertions to track the position counter corruption and it's probably a good idea to leave them in to catch possible future errors early. The actual fix was to just ensure that the seek position it always valid for the file. This fixes #1059.