KONTAKTIERE und HELFE GIB sollten nicht ausreichend sein, um Rohstoffe abbauen zu können. HELFE BEWACHE ist erforderlich.

This commit is contained in:
Enno Rehling 2004-12-06 23:29:46 +00:00
parent 6286f14efa
commit 5a2eff08be
1 changed files with 0 additions and 2 deletions

View File

@ -1092,7 +1092,6 @@ allocate_resource(unit * u, const resource_type * rtype, int want)
if (getguard(u2) & GUARD_TREES if (getguard(u2) & GUARD_TREES
&& u2->number && u2->number
&& cansee(u2->faction,r,u,0) && cansee(u2->faction,r,u,0)
&& !ucontact(u2, u)
&& !besieged(u2) && !besieged(u2)
&& !alliedunit(u2, u->faction, HELP_GUARD) && !alliedunit(u2, u->faction, HELP_GUARD)
&& armedmen(u2) && armedmen(u2)
@ -1114,7 +1113,6 @@ allocate_resource(unit * u, const resource_type * rtype, int want)
if (getguard(u) & GUARD_MINING if (getguard(u) & GUARD_MINING
&& !fval(u2, UFL_ISNEW) && !fval(u2, UFL_ISNEW)
&& u2->number && u2->number
&& !ucontact(u2, u)
&& !alliedunit(u2, u->faction, HELP_GUARD)) && !alliedunit(u2, u->faction, HELP_GUARD))
{ {
add_message(&u->faction->msgs, add_message(&u->faction->msgs,