From 6f4c416887d2a006a13dbd4e54932d46b59b0b17 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 20 Feb 2007 21:28:03 +0000 Subject: Still add local "data" dir to the search path, mostly for developers. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 9eb45fda..a9bcd077 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -195,6 +195,7 @@ void init_engine(const Options &options) } // Add the main data directory to our PhysicsFS search path + resman->addToSearchPath("data", true); #if defined __APPLE__ CFBundleRef mainBundle = CFBundleGetMainBundle(); CFURLRef resourcesURL = CFBundleCopyResourcesDirectoryURL(mainBundle); @@ -208,7 +209,6 @@ void init_engine(const Options &options) strncat(path, "/data", PATH_MAX - 1); resman->addToSearchPath(path, true); #else - resman->addToSearchPath("data", true); resman->addToSearchPath(TMW_DATADIR "data", true); #endif -- cgit v1.2.3-70-g09d2