not needed anymore, as File::open() handles the current directory

svn-id: r14471
This commit is contained in:
Gregory Montoir 2004-08-05 17:25:54 +00:00
parent b4223febd3
commit 6b463e9907

View File

@ -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");