forked from github/server
Merge pull request #204 from badgerman/issue-203-no_terrain_id
kill some invalid log spam
This commit is contained in:
commit
16dead2626
|
@ -58,7 +58,6 @@
|
|||
<order name="tax" disable="yes"/>
|
||||
<order name="entertain" disable="yes"/>
|
||||
<order name="sell" disable="yes"/>
|
||||
<order name="origin" disable="no"/>
|
||||
|
||||
<skill name="armorer" enable="true"/>
|
||||
<skill name="bow" enable="true"/>
|
||||
|
|
|
@ -58,7 +58,7 @@ static int report_json(const char *filename, report_context * ctx, const char *c
|
|||
sr = find_seen(ctx->seen, r);
|
||||
if (sr) {
|
||||
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);
|
||||
}
|
||||
data = 1 + (int)ter;
|
||||
|
|
Loading…
Reference in New Issue