[Scummvm-cvs-logs] SF.net SVN: scummvm: [28780] scummvm/trunk/engines/saga/ihnm_introproc.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Sat Sep 1 12:49:28 CEST 2007


Revision: 28780
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28780&view=rev
Author:   sev
Date:     2007-09-01 03:49:28 -0700 (Sat, 01 Sep 2007)

Log Message:
-----------
Fix intro in German and Spanish IHNM. 

Modified Paths:
--------------
    scummvm/trunk/engines/saga/ihnm_introproc.cpp

Modified: scummvm/trunk/engines/saga/ihnm_introproc.cpp
===================================================================
--- scummvm/trunk/engines/saga/ihnm_introproc.cpp	2007-09-01 10:48:05 UTC (rev 28779)
+++ scummvm/trunk/engines/saga/ihnm_introproc.cpp	2007-09-01 10:49:28 UTC (rev 28780)
@@ -52,8 +52,13 @@
 	IHNMLoadCutaways();
 
 	if (_vm->getGameId() != GID_IHNM_DEMO) {
+		int logoLength = -168;
+
+		if (_vm->getLanguage() == Common::DE_DEU || _vm->getLanguage() == Common::ES_ESP)
+			logoLength = -128;
+
 		// Play Cyberdreams logo for 168 frames
-		if (!playTitle(0, -168, true)) {
+		if (!playTitle(0, logoLength, true)) {
 			// Play Dreamers Guild logo for 10 seconds
 			if (!playLoopingTitle(1, 10)) {
 				// Play the title music


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