[Scummvm-cvs-logs] SF.net SVN: scummvm: [23196] scummvm/branches/branch-0-9-0/engines/kyra/plugin.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Tue Jun 20 20:25:45 CEST 2006


Revision: 23196
Author:   lordhoto
Date:     2006-06-20 11:25:39 -0700 (Tue, 20 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=23196&view=rev

Log Message:
-----------
Oops c&p is bad sometimes...

Modified Paths:
--------------
    scummvm/branches/branch-0-9-0/engines/kyra/plugin.cpp
Modified: scummvm/branches/branch-0-9-0/engines/kyra/plugin.cpp
===================================================================
--- scummvm/branches/branch-0-9-0/engines/kyra/plugin.cpp	2006-06-20 18:24:54 UTC (rev 23195)
+++ scummvm/branches/branch-0-9-0/engines/kyra/plugin.cpp	2006-06-20 18:25:39 UTC (rev 23196)
@@ -335,7 +335,7 @@
 			_features = 0;
 			_game = GI_KYRA1;
 			Common::File temp;
-			temp.open(g->checkFile);
+			temp.open("INTRO.VRM");
 			if (temp.isOpen())
 			//if (Common::File::exists("INTRO.VRM")) {
 				_features |= GF_TALKIE;
@@ -347,7 +347,7 @@
 			// try to detect the language
 			const Kyra1LanguageTable *lang = kyra1_languages;
 			for (; lang->file; ++lang) {
-				temp.open(g->checkFile);
+				temp.open(lang->file);
 				if (temp.isOpen())
 				//if (Common::File::exists(lang->file)) {
 					_features |= lang->language;


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