forked from github/server
additional comments
This commit is contained in:
parent
0bfd1feee6
commit
858074501e
12
src/laws.c
12
src/laws.c
|
@ -4285,12 +4285,18 @@ void update_subscriptions(void)
|
||||||
fclose(F);
|
fclose(F);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
/** determine if unit can be seen by faction
|
||||||
cansee(const faction * f, const region * r, const unit * u, int modifier)
|
* @param f -- the observiong faction
|
||||||
/* r kann != u->region sein, wenn es um Durchreisen geht,
|
* @param u -- the unit that is observed
|
||||||
|
* @param r -- the region that u is obesrved in (see below)
|
||||||
|
* @param m -- terrain modifier to stealth
|
||||||
|
*
|
||||||
|
* r kann != u->region sein, wenn es um Durchreisen geht,
|
||||||
* oder Zauber (sp_generous, sp_fetchastral).
|
* oder Zauber (sp_generous, sp_fetchastral).
|
||||||
* Es muss auch niemand aus f in der region sein, wenn sie vom Turm
|
* Es muss auch niemand aus f in der region sein, wenn sie vom Turm
|
||||||
* erblickt wird */
|
* erblickt wird */
|
||||||
|
bool
|
||||||
|
cansee(const faction * f, const region * r, const unit * u, int modifier)
|
||||||
{
|
{
|
||||||
int stealth, rings;
|
int stealth, rings;
|
||||||
unit *u2 = r->units;
|
unit *u2 = r->units;
|
||||||
|
|
Loading…
Reference in New Issue