forked from github/server
nochmal nachgefixt.
This commit is contained in:
parent
37f1055d83
commit
817a02784c
|
@ -2554,8 +2554,7 @@ add_seen(const struct region * r, unsigned char mode, boolean dis)
|
||||||
seen_region * find = find_seen(r);
|
seen_region * find = find_seen(r);
|
||||||
if (find) {
|
if (find) {
|
||||||
if (find->mode >= mode) return false;
|
if (find->mode >= mode) return false;
|
||||||
if (find->mode>see_neighbour) return true;
|
if (find->mode>see_neighbour || find->next==NULL) {
|
||||||
if (find->next==NULL) {
|
|
||||||
find->mode = mode;
|
find->mode = mode;
|
||||||
find->disbelieves |= dis;
|
find->disbelieves |= dis;
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue