Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #755727 ยป 0002-reduce-tgt-at.patch

Sveinung Kvilhaugsvik, 2018-05-25 11:12 AM

View differences:

client/control.c
/* Leave choice up to the server */
request_new_unit_activity_targeted(punit, ACTIVITY_PILLAGE, NULL);
} else {
struct tile *ptile = unit_tile(punit);
bv_extras pspossible;
int count = 0;
BV_CLR_ALL(pspossible);
extra_type_iterate(potential) {
if (can_unit_do_activity_targeted_at(punit, ACTIVITY_PILLAGE,
potential, ptile)) {
if (can_unit_do_activity_targeted(punit, ACTIVITY_PILLAGE,
potential)) {
BV_SET(pspossible, extra_index(potential));
count++;
}
    (1-1/1)