forked from github/server
report monsters if they are only seen by lighthouses
This commit is contained in:
parent
ddd37688f9
commit
c02107d037
4 changed files with 5 additions and 4 deletions
2
cJSON
2
cJSON
|
@ -1 +1 @@
|
|||
Subproject commit 460207f9c09d501a2e302e5313b2f67dca0d6d63
|
||||
Subproject commit 8df81fb497cc48b089a57fcdc3a9933540ebc7c9
|
2
clibs
2
clibs
|
@ -1 +1 @@
|
|||
Subproject commit 48ddc013ffc2e7afb33b348bb605443896e55a28
|
||||
Subproject commit 484fbf23e34f6844f1c4e3f685bb6c53cadf5bfe
|
|
@ -1095,7 +1095,8 @@ void get_addresses(report_context * ctx)
|
|||
faction *sf = visible_faction(ctx->f, u);
|
||||
if (lastf != sf) {
|
||||
if (u->building || u->ship || (stealthmod > INT_MIN
|
||||
&& cansee(ctx->f, r, u, stealthmod))) {
|
||||
&& visible_unit(u, ctx->f, stealthmod, seen_lighthouse)))
|
||||
{
|
||||
add_seen_faction_i(&flist, sf);
|
||||
lastf = sf;
|
||||
}
|
||||
|
|
2
storage
2
storage
|
@ -1 +1 @@
|
|||
Subproject commit f6254a3ce9d9671af32546b29099e563758140de
|
||||
Subproject commit 0ef4b39e39d8146d6ca323500a285c53843db988
|
Loading…
Reference in a new issue