From 2c9b4d7336b9eda915dce3bc54edf3b4e8d69aba Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Fri, 1 Apr 2016 23:02:23 +0000 Subject: [PATCH] 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 --- polymer/eduke32/build/src/cache1d.c | 1 + 1 file changed, 1 insertion(+) diff --git a/polymer/eduke32/build/src/cache1d.c b/polymer/eduke32/build/src/cache1d.c index 6deeedc5d..365ffe269 100644 --- a/polymer/eduke32/build/src/cache1d.c +++ b/polymer/eduke32/build/src/cache1d.c @@ -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) {