https://github.com/eressea/server/issues/203 terrain_t check was exactly wrong, causing log spam.

remove obsolete line from E4 config.
This commit is contained in:
Enno Rehling 2015-05-22 11:46:27 +02:00
parent 7a65658cc5
commit eb6215e018
2 changed files with 1 additions and 2 deletions

View File

@ -58,7 +58,6 @@
<order name="tax" disable="yes"/> <order name="tax" disable="yes"/>
<order name="entertain" disable="yes"/> <order name="entertain" disable="yes"/>
<order name="sell" disable="yes"/> <order name="sell" disable="yes"/>
<order name="origin" disable="no"/>
<skill name="armorer" enable="true"/> <skill name="armorer" enable="true"/>
<skill name="bow" enable="true"/> <skill name="bow" enable="true"/>

View File

@ -58,7 +58,7 @@ static int report_json(const char *filename, report_context * ctx, const char *c
sr = find_seen(ctx->seen, r); sr = find_seen(ctx->seen, r);
if (sr) { if (sr) {
terrain_t ter = oldterrain(r->terrain); terrain_t ter = oldterrain(r->terrain);
if (ter != NOTERRAIN) { if (ter == NOTERRAIN) {
log_warning("report_json: %s has no terrain id\n", r->terrain->_name); log_warning("report_json: %s has no terrain id\n", r->terrain->_name);
} }
data = 1 + (int)ter; data = 1 + (int)ter;