aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Montoir2004-08-05 17:25:54 +0000
committerGregory Montoir2004-08-05 17:25:54 +0000
commit6b463e99076207f16d02b8f23c7894cb94eb7107 (patch)
treeb346211211cb6b3fb00500798a52eb1377b31fd1
parentb4223febd350ffaa2265570669e88a30642c4ca1 (diff)
downloadscummvm-rg350-6b463e99076207f16d02b8f23c7894cb94eb7107.tar.gz
scummvm-rg350-6b463e99076207f16d02b8f23c7894cb94eb7107.tar.bz2
scummvm-rg350-6b463e99076207f16d02b8f23c7894cb94eb7107.zip
not needed anymore, as File::open() handles the current directory
svn-id: r14471
-rw-r--r--queen/resource.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/queen/resource.cpp b/queen/resource.cpp
index 7184475d21..cba0253a4e 100644
--- a/queen/resource.cpp
+++ b/queen/resource.cpp
@@ -216,8 +216,6 @@ Language Resource::getLanguage() const {
bool Resource::readTableFile(const GameVersion *gameVersion) {
File tableFile;
tableFile.open(_tableFilename);
- if (!tableFile.isOpen())
- tableFile.open(_tableFilename, File::kFileReadMode, ""); // try current directory
if (tableFile.isOpen() && tableFile.readUint32BE() == 'QTBL') {
if (tableFile.readUint32BE() != CURRENT_TBL_VERSION)
warning("Incorrect version of queen.tbl, please update it");