[Scummvm-cvs-logs] SF.net SVN: scummvm: [25212] scummvm/trunk/engines/parallaction/archive.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sat Jan 27 00:19:51 CET 2007


Revision: 25212
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25212&view=rev
Author:   peres001
Date:     2007-01-26 15:19:50 -0800 (Fri, 26 Jan 2007)

Log Message:
-----------
make sure current archive is closed before opening a new one

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/archive.cpp

Modified: scummvm/trunk/engines/parallaction/archive.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/archive.cpp	2007-01-26 22:27:59 UTC (rev 25211)
+++ scummvm/trunk/engines/parallaction/archive.cpp	2007-01-26 23:19:50 UTC (rev 25212)
@@ -42,6 +42,9 @@
 void openArchive(const char *file) {
 	debugC(1, kDebugDisk, "open archive '%s'", file);
 
+    if (_archive.isOpen()) closeArchive();
+
+
 	uint32	offset = DIRECTORY_OFFSET_IN_FILE;
 	char	path[PATH_LEN];
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list