[Scummvm-cvs-logs] SF.net SVN: scummvm: [22512] scummvm/trunk/engines/kyra/plugin.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Thu May 18 04:33:59 CEST 2006
Revision: 22512
Author: eriktorbjorn
Date: 2006-05-18 04:32:59 -0700 (Thu, 18 May 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22512&view=rev
Log Message:
-----------
Cleanup.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/plugin.cpp
Modified: scummvm/trunk/engines/kyra/plugin.cpp
===================================================================
--- scummvm/trunk/engines/kyra/plugin.cpp 2006-05-18 08:21:08 UTC (rev 22511)
+++ scummvm/trunk/engines/kyra/plugin.cpp 2006-05-18 11:32:59 UTC (rev 22512)
@@ -319,8 +319,7 @@
printf("Unknown MD5 (%s)! Please report the details (language, platform, etc.) of this game to the ScummVM team\n", md5str);
_features = 0;
_game = GI_KYRA1;
- Common::File test;
- if (test.open("INTRO.VRM")) {
+ if (Common::File::exists("INTRO.VRM")) {
_features |= GF_TALKIE;
} else {
_features |= GF_FLOPPY;
@@ -329,7 +328,7 @@
// try to detect the language
const Kyra1LanguageTable *lang = kyra1_languages;
for (; lang->file; ++lang) {
- if (test.open(lang->file)) {
+ if (Common::File::exists(lang->file)) {
_features |= lang->language;
versionFound = true;
break;
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