From 85174e8504bd5713859ac9632ec8a536d5213d9e Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Wed, 22 Oct 2008 23:30:21 +0000 Subject: Add game path with a depth of level 4, to prevent regressions when loading files in HE arcade games again. svn-id: r34842 --- base/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/main.cpp') diff --git a/base/main.cpp b/base/main.cpp index 434a7b7b83..4245e6c3b1 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -186,7 +186,7 @@ static int runGame(const EnginePlugin *plugin, OSystem &system, const Common::St // found this issue on lost-win-demo at first. Thus, in commit 34450, searching the // game path was made recursive as a temporary fix/workaround. dir = Common::FSNode(path); - SearchMan.addDirectory(dir.getPath(), dir); + SearchMan.addDirectory(dir.getPath(), dir, 0, 4); // Add extrapath (if any) to the directory search list if (ConfMan.hasKey("extrapath")) { -- cgit v1.2.3