mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
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:
parent
b879597dd4
commit
2c9b4d7336
1 changed files with 1 additions and 0 deletions
|
@ -1040,6 +1040,7 @@ static int32_t kopen_internal(const char *filename, char **lastpfn, char searchf
|
||||||
{
|
{
|
||||||
if (kzcurhand >= 0) arraypos[kzcurhand] = kztell();
|
if (kzcurhand >= 0) arraypos[kzcurhand] = kztell();
|
||||||
kzclose();
|
kzclose();
|
||||||
|
kzcurhand = -1;
|
||||||
}
|
}
|
||||||
if (searchfirst != 1 && (i = kzipopen(filename)) != 0)
|
if (searchfirst != 1 && (i = kzipopen(filename)) != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue