summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-10 00:01:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-10 00:01:33 +0300
commit1b4713c9bc13bfa41bd45d4107c1a34f7996e2bd (patch)
tree77b4e6204e7a8925f12020e426cdd7dc061f9034
parentfb42179ac83d1754edaacbb749a8000ca29aaaba (diff)
downloadmanaplus-1b4713c9bc13bfa41bd45d4107c1a34f7996e2bd.tar.gz
manaplus-1b4713c9bc13bfa41bd45d4107c1a34f7996e2bd.tar.bz2
manaplus-1b4713c9bc13bfa41bd45d4107c1a34f7996e2bd.tar.xz
manaplus-1b4713c9bc13bfa41bd45d4107c1a34f7996e2bd.zip
fix default configs using if run manaplus without install.
-rw-r--r--src/client.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 37e4f21db..cee32ae80 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -483,6 +483,7 @@ void Client::gameInit()
}
resman->addToSearchPath(PKG_DATADIR "data/perserver/default", false);
+ resman->addToSearchPath("data/perserver/default", false);
#if defined __APPLE__
CFBundleRef mainBundle = CFBundleGetMainBundle();