summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-02-20 21:28:03 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-02-20 21:28:03 +0000
commit6f4c416887d2a006a13dbd4e54932d46b59b0b17 (patch)
treedbb5e1797fbdadeed7b309946bbd0b2852dcd0c2 /src/main.cpp
parente5fcaa4a70b812343572856946058b57eaf576e5 (diff)
downloadmana-6f4c416887d2a006a13dbd4e54932d46b59b0b17.tar.gz
mana-6f4c416887d2a006a13dbd4e54932d46b59b0b17.tar.bz2
mana-6f4c416887d2a006a13dbd4e54932d46b59b0b17.tar.xz
mana-6f4c416887d2a006a13dbd4e54932d46b59b0b17.zip
Still add local "data" dir to the search path, mostly for developers.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
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