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

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Thu Dec 11 19:09:45 CET 2008


Revision: 35305
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35305&view=rev
Author:   eriktorbjorn
Date:     2008-12-11 18:09:45 +0000 (Thu, 11 Dec 2008)

Log Message:
-----------
Fixed detection of voice files.

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

Modified: scummvm/trunk/engines/saga/rscfile.cpp
===================================================================
--- scummvm/trunk/engines/saga/rscfile.cpp	2008-12-11 16:35:43 UTC (rev 35304)
+++ scummvm/trunk/engines/saga/rscfile.cpp	2008-12-11 18:09:45 UTC (rev 35305)
@@ -446,7 +446,7 @@
 	// Detect and add voice files
 	fileFound = false;
 	curSoundfiles = _vm->getGameType() == GType_ITE ? voiceFilesITE : voiceFilesIHNM;
-	maxFile = _vm->getGameType() == GType_ITE ? 4 : 2;
+	maxFile = _vm->getGameType() == GType_ITE ? 7 : 4;
 
 	for (i = 0; i < maxFile; i++) {
 		if (Common::File::exists(curSoundfiles[i].fileName)) {


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