From 275476aaf6d4708cbc613d0a3df5513660f87a12 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 8 Mar 2010 23:16:11 -0800 Subject: [PATCH] fixing directories and stuff. --- res/catalog-e3a.xml | 2 +- res/catalog-eressea.xml | 2 +- src/main.c | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/res/catalog-e3a.xml b/res/catalog-e3a.xml index 8eb4603a3..661a6cedb 100644 --- a/res/catalog-e3a.xml +++ b/res/catalog-e3a.xml @@ -6,5 +6,5 @@ + rewritePrefix="../../server/res/" /> diff --git a/res/catalog-eressea.xml b/res/catalog-eressea.xml index 8eb4603a3..661a6cedb 100644 --- a/res/catalog-eressea.xml +++ b/res/catalog-eressea.xml @@ -6,5 +6,5 @@ + rewritePrefix="../../server/res/" /> diff --git a/src/main.c b/src/main.c index 49f8503fb..20902ea21 100644 --- a/src/main.c +++ b/src/main.c @@ -12,8 +12,9 @@ #include #include -static const char * luafile = "init.lua"; +static const char * luafile = "setup.lua"; static const char * entry_point = NULL; +static const char * inifile = "eressea.ini"; static int memdebug = 0; static void parse_config(const char * filename) @@ -231,7 +232,7 @@ int main(int argc, char ** argv) log_open("eressea.log"); locale_init(); - parse_config("eressea.ini"); + parse_config(inifile); err = parse_args(argc, argv); if (err) {