A potential fix for the "loading sounds and music from zip files" bug.

git-svn-id: https://svn.eduke32.com/eduke32@5692 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-04-01 23:02:23 +00:00
parent b879597dd4
commit 2c9b4d7336
1 changed files with 1 additions and 0 deletions

View File

@ -1040,6 +1040,7 @@ static int32_t kopen_internal(const char *filename, char **lastpfn, char searchf
{
if (kzcurhand >= 0) arraypos[kzcurhand] = kztell();
kzclose();
kzcurhand = -1;
}
if (searchfirst != 1 && (i = kzipopen(filename)) != 0)
{