BUG 2508: wipe edges with 0

This commit is contained in:
Enno Rehling 2018-10-29 16:19:29 +01:00
parent c3d9e9dbaf
commit 89d752bc1f

View file

@ -902,6 +902,7 @@ void report_region(struct stream *out, const region * r, faction * f)
assert(f);
assert(r);
memset(edges, 0, sizeof(edges));
for (d = 0; d != MAXDIRECTIONS; d++) {
/* Nachbarregionen, die gesehen werden, ermitteln */
region *r2 = rconnect(r, d);