forked from github/server
BUG 2508: wipe edges with 0
This commit is contained in:
parent
c3d9e9dbaf
commit
89d752bc1f
1 changed files with 1 additions and 0 deletions
|
@ -902,6 +902,7 @@ void report_region(struct stream *out, const region * r, faction * f)
|
||||||
assert(f);
|
assert(f);
|
||||||
assert(r);
|
assert(r);
|
||||||
|
|
||||||
|
memset(edges, 0, sizeof(edges));
|
||||||
for (d = 0; d != MAXDIRECTIONS; d++) {
|
for (d = 0; d != MAXDIRECTIONS; d++) {
|
||||||
/* Nachbarregionen, die gesehen werden, ermitteln */
|
/* Nachbarregionen, die gesehen werden, ermitteln */
|
||||||
region *r2 = rconnect(r, d);
|
region *r2 = rconnect(r, d);
|
||||||
|
|
Loading…
Reference in a new issue