Latest min-max branch

This commit is contained in:
xawotihs
2015-08-25 23:29:58 +02:00
parent 5061f7c37f
commit 504160a740
6 changed files with 101 additions and 5 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ void JFileSystem::clearZipCache()
bool JFileSystem::AttachZipFile(const string &zipfile, char *password /* = NULL */)
{
if (mZipAvailable && mZipFile != NULL)
if (mZipAvailable && mZipFile.is_open())
{
if (mZipFileName != zipfile)
DetachZipFile(); // close the previous zip file