[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.372,1.373

Max Horn fingolfin at users.sourceforge.net
Fri Aug 6 08:56:24 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23180

Modified Files:
	script_v6.cpp 
Log Message:
WORKAROUND bug #903223 (COMI: Guybrush reads church clock incorrectly (German))

Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.372
retrieving revision 1.373
diff -u -d -r1.372 -r1.373
--- script_v6.cpp	5 Aug 2004 09:57:36 -0000	1.372
+++ script_v6.cpp	6 Aug 2004 15:55:12 -0000	1.373
@@ -815,6 +815,25 @@
 	getStackList(args, ARRAYSIZE(args));
 	script = pop();
 	flags = pop();
+	
+	// WORKAROUND bug #903223: In Puerto Pollo, if you have Guybrush examine
+	// the church clock, he'll read out the current time. Nice touch, only that
+	// it sounds crap in the german version (and maybe others, too). It seems
+	// the original engine of the german version played just a simple fixed
+	// text in this spot, for the above reason. Since the data files are
+	// unchanged, it must have been an engine hack job. No idea how they did
+	// it exactly, but this here is how we do it :-)
+	if (_gameId == GID_CMI && script == 204 &&
+		_currentRoom == 15 && vm.slot[_currentScript].number == 421 &&
+		_language == Common::DE_DEU) {
+
+		_actorToPrintStrFor = 1;
+		_string[0].loadDefault();
+		actorTalk((const byte *)"/VDSO325/Whoa! Look at the time. Gotta scoot.");
+
+		return;
+	}
+	
 	runScript(script, (flags & 1) != 0, (flags & 2) != 0, args);
 }
 





More information about the Scummvm-git-logs mailing list