This commit is contained in:
Enno Rehling 2010-02-22 07:58:59 +00:00
parent 560fed45fb
commit 54574ea0ca
2 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@
<VisualStudioProject
ProjectType="Visual C++"
Version="8.00"
Name="build"
Name="amalgamation-eressea"
ProjectGUID="{AD80EB0B-7CB4-42F2-9C95-8CCEF68DB387}"
RootNamespace="build"
SccProjectName="Svn"

View File

@ -383,12 +383,13 @@ my_lua_error(lua_State * L)
}
static void
load_inifile(const char * filename)
parse_config(const char * filename)
{
dictionary * d = iniparser_new(filename);
if (d) {
const char * str;
load_inifile(d);
g_basedir = iniparser_getstring(d, "eressea:base", g_basedir);
lomem = iniparser_getint(d, "eressea:lomem", lomem)?1:0;
memdebug = iniparser_getint(d, "eressea:memcheck", memdebug);
@ -485,7 +486,7 @@ main(int argc, char *argv[])
log_open("eressea.log");
locale_init();
load_inifile("eressea.ini");
parse_config("eressea.ini");
L = lua_init();
global.vm_state = L;
if ((i=read_args(argc, argv, L))!=0) return i;