[Scummvm-cvs-logs] SF.net SVN: scummvm: [23197] scummvm/branches/branch-0-9-0/engines/kyra/plugin.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Tue Jun 20 20:26:46 CEST 2006
Revision: 23197
Author: lordhoto
Date: 2006-06-20 11:26:40 -0700 (Tue, 20 Jun 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=23197&view=rev
Log Message:
-----------
ok should work now...
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:25:39 UTC (rev 23196)
+++ scummvm/branches/branch-0-9-0/engines/kyra/plugin.cpp 2006-06-20 18:26:40 UTC (rev 23197)
@@ -305,6 +305,7 @@
temp.open(g->checkFile);
if (!temp.isOpen())
continue;
+ temp.close();
//if (!Common::File::exists(g->checkFile))
// continue;
@@ -336,7 +337,7 @@
_game = GI_KYRA1;
Common::File temp;
temp.open("INTRO.VRM");
- if (temp.isOpen())
+ if (temp.isOpen()) {
//if (Common::File::exists("INTRO.VRM")) {
_features |= GF_TALKIE;
} else {
@@ -348,7 +349,7 @@
const Kyra1LanguageTable *lang = kyra1_languages;
for (; lang->file; ++lang) {
temp.open(lang->file);
- if (temp.isOpen())
+ if (temp.isOpen()) {
//if (Common::File::exists(lang->file)) {
_features |= lang->language;
versionFound = true;
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