diff options
author | Max Horn | 2006-05-03 20:49:33 +0000 |
---|---|---|
committer | Max Horn | 2006-05-03 20:49:33 +0000 |
commit | 05f6adbbd90f58346a0bca85793069c387c54b67 (patch) | |
tree | aeb7151779c221e1aec308d55445f4e9e234aba2 /base | |
parent | b67c30f6c8f5b7c31f9acd9aa7fe9ac1d295ba5f (diff) | |
download | scummvm-rg350-05f6adbbd90f58346a0bca85793069c387c54b67.tar.gz scummvm-rg350-05f6adbbd90f58346a0bca85793069c387c54b67.tar.bz2 scummvm-rg350-05f6adbbd90f58346a0bca85793069c387c54b67.zip |
Removed FilesystemNode::isValid (leaving it up to the porters to decide whether to remove their isValid code or not)
svn-id: r22317
Diffstat (limited to 'base')
-rw-r--r-- | base/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/main.cpp b/base/main.cpp index e438cec0c8..a3c24ed30c 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -170,7 +170,7 @@ static int runGame(const Plugin *plugin, OSystem &system, const Common::String & if (ConfMan.hasKey("path")) { Common::String path(ConfMan.get("path")); FilesystemNode dir(path); - if (!dir.isValid() || !dir.isDirectory()) { + if (!dir.isDirectory()) { warning("Game directory does not exist (%s)", path.c_str()); return 0; } |