[Scummvm-cvs-logs] SF.net SVN: scummvm: [32483] scummvm/trunk/engines/drascula/drascula.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Mon Jun 2 06:39:44 CEST 2008


Revision: 32483
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32483&view=rev
Author:   thebluegr
Date:     2008-06-01 21:39:43 -0700 (Sun, 01 Jun 2008)

Log Message:
-----------
Show the 3 pictures in carga_escoba after the initial file is loaded (so as not to attempt and reopen the ARJ file)

Modified Paths:
--------------
    scummvm/trunk/engines/drascula/drascula.cpp

Modified: scummvm/trunk/engines/drascula/drascula.cpp
===================================================================
--- scummvm/trunk/engines/drascula/drascula.cpp	2008-06-01 23:51:41 UTC (rev 32482)
+++ scummvm/trunk/engines/drascula/drascula.cpp	2008-06-02 04:39:43 UTC (rev 32483)
@@ -875,10 +875,6 @@
 		getStringFromLine(buffer, size, pant3);
 		getStringFromLine(buffer, size, pant4);
 
-		loadAndDecompressPic(pant2, extraSurface, 1);
-		loadAndDecompressPic(pant1, frontSurface, 1);
-		loadAndDecompressPic(pant4, backSurface, 1);
-
 		strcpy(menuBackground, pant4);
 	}
 
@@ -917,6 +913,12 @@
 	}
 	_arj.close();
 
+	if (currentChapter == 2 && martin != 0) {
+		loadAndDecompressPic(pant2, extraSurface, 1);
+		loadAndDecompressPic(pant1, frontSurface, 1);
+		loadAndDecompressPic(pant4, backSurface, 1);
+	}
+
 	if (currentChapter == 2) {
 		if (martin == 0) {
 			stepX = PASO_HARE_X;


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