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

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Sun Mar 9 09:05:41 CET 2008


Revision: 31072
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31072&view=rev
Author:   aquadran
Date:     2008-03-09 00:05:40 -0800 (Sun, 09 Mar 2008)

Log Message:
-----------
fixed wrong call

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

Modified: scummvm/trunk/engines/drascula/drascula.cpp
===================================================================
--- scummvm/trunk/engines/drascula/drascula.cpp	2008-03-08 20:58:38 UTC (rev 31071)
+++ scummvm/trunk/engines/drascula/drascula.cpp	2008-03-09 08:05:40 UTC (rev 31072)
@@ -123,7 +123,7 @@
 }
 
 int DrasculaEngine::go() {
-	num_ejec = 0;
+	num_ejec = 3;
 	hay_que_load = 0;
 
 	for (;;) {
@@ -3324,7 +3324,7 @@
 	long tiempol;
 
 	int suma_1_pixel = 0;
-	if (num_ejec == 1 || num_ejec == 6)
+	if (num_ejec != 2)
 		suma_1_pixel = 1;
 
 	int y_mask_habla = 170;
@@ -3350,7 +3350,7 @@
 	tiempou = (unsigned int)tiempol / 2;
 	_rnd->setSeed(tiempou);
 
-	if (num_ejec == 1 || num_ejec == 6) {
+	if (num_ejec != 2) {
 		if (factor_red[hare_y + alto_hare] == 100)
 			suma_1_pixel = 0;
 	}
@@ -10512,6 +10512,9 @@
 		if (longitud > 0)
 			goto bucless;
 	}
+	if (num_ejec == 1 || num_ejec == 2)
+		if (music_status() == 0 && flags[11] == 0 && musica_room != 0)
+			playmusic(musica_room);
 }
 
 void DrasculaEngine::habla_baul(const char *dicho, const char *filename) {
@@ -11588,7 +11591,7 @@
 		if (flags[11] == 1 && flags[14] == 1)
 			flags[18] = 1;
 		if (flags[18] == 1)
-			animacion_6_2();
+			animacion_6_4();
 	} else if (objeto_que_lleva == CERRAR && fl == 144)
 		cierra_puerta(16, 1);
 	else if (objeto_que_lleva == 13 && fl == 144) {


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