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 #877147 ยป 0013-Won-t-body-guard-by-action-result.patch

Sveinung Kvilhaugsvik, 2020-06-09 12:56 PM

View differences:

ai/default/aiunit.c
|| !aiguard_wanted(ait, buddy)
|| unit_move_rate(buddy) > unit_move_rate(punit)
|| DEFENSE_POWER(buddy_type) >= DEFENSE_POWER(ptype)
|| (is_military_unit(buddy)
|| (utype_can_do_action_result(buddy_type, ACTRES_ATTACK)
&& 0 == get_transporter_capacity(buddy)
&& ATTACK_POWER(buddy_type) <= ATTACK_POWER(ptype))) {
    (1-1/1)