forked from github/server
argh. lomem settings falschrum
This commit is contained in:
parent
8fe61a96f4
commit
d86835900f
|
@ -471,8 +471,13 @@ b_rvisibleroad(const border * b, const region * r)
|
|||
{
|
||||
int x = b->data.i;
|
||||
x = (r==b->from)?b->data.sa[0]:b->data.sa[1];
|
||||
if (x==0) return false;
|
||||
return (boolean)(b->to==r || b->from==r);
|
||||
if (x==0) {
|
||||
return false;
|
||||
}
|
||||
if (b->to!=r && b->from!=r) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
border_type bt_road = {
|
||||
|
|
|
@ -573,7 +573,7 @@ load_inifile(const char * filename)
|
|||
if (d) {
|
||||
const char * str;
|
||||
|
||||
lomem = iniparser_getint(d, "eressea:lomem", lomem)?0:1;
|
||||
lomem = iniparser_getint(d, "eressea:lomem", lomem)?1:0;
|
||||
quiet = iniparser_getint(d, "eressea:verbose", 0)?0:1;
|
||||
str = iniparser_getstr(d, "eressea:run");
|
||||
if (str) luafile = str;
|
||||
|
|
Loading…
Reference in New Issue