- Tarnung wird bei Strassenabriss berücksichtigt (Guerillas können Straßen zerstören)
This commit is contained in:
Enno Rehling 2004-10-12 21:05:35 +00:00
parent f86694385f
commit cad9a8b86d
1 changed files with 697 additions and 696 deletions

View File

@ -302,8 +302,9 @@ destroy_road(unit *u, int n, struct order * ord)
region *r = u->region;
for (u2=r->units;u2;u2=u2->next) {
if (u2->faction!=u->faction && getguard(u2)&GUARD_TAX &&
!alliedunit(u, u2->faction, HELP_GUARD)) {
if (u2->faction!=u->faction && getguard(u2)&GUARD_TAX
&& cansee(u2->faction, u->region, u, 0)
&& !alliedunit(u, u2->faction, HELP_GUARD)) {
cmistake(u, ord, 70, MSG_EVENT);
return;
}