diff options
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |