forked from github/server
Nachbesserung zum vorangegangenen commit.
This commit is contained in:
parent
7748f4612d
commit
d042e89542
1 changed files with 5 additions and 7 deletions
|
@ -2674,9 +2674,8 @@ prepare_report(faction * f)
|
||||||
while (rp) {
|
while (rp) {
|
||||||
region * rl = rp->data;
|
region * rl = rp->data;
|
||||||
if (rterrain(rl) == T_OCEAN) {
|
if (rterrain(rl) == T_OCEAN) {
|
||||||
add_seen(seen, rl, see_lighthouse, false);
|
|
||||||
if (distance(rl, r)==light) {
|
|
||||||
direction_t d;
|
direction_t d;
|
||||||
|
add_seen(seen, rl, see_lighthouse, false);
|
||||||
for (d=0;d!=MAXDIRECTIONS;++d) {
|
for (d=0;d!=MAXDIRECTIONS;++d) {
|
||||||
region * rn = rconnect(rl, d);
|
region * rn = rconnect(rl, d);
|
||||||
if (rn!=NULL) {
|
if (rn!=NULL) {
|
||||||
|
@ -2684,7 +2683,6 @@ prepare_report(faction * f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
rp = rp->next;
|
rp = rp->next;
|
||||||
}
|
}
|
||||||
free_regionlist(rlist);
|
free_regionlist(rlist);
|
||||||
|
|
Loading…
Reference in a new issue