From 05f6adbbd90f58346a0bca85793069c387c54b67 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 3 May 2006 20:49:33 +0000 Subject: Removed FilesystemNode::isValid (leaving it up to the porters to decide whether to remove their isValid code or not) svn-id: r22317 --- base/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base') 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; } -- cgit v1.2.3