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 #877325 ยป 0030-redundant.patch

Sveinung Kvilhaugsvik, 2020-06-10 06:34 PM

View differences:

ai/default/daimilitary.c
#endif
if (!utai->carries_occupiers
&& !utype_acts_hostile(utype)
&& (utype_has_flag(utype, UTYF_CIVILIAN)
|| (!utype_can_do_action(utype, ACTION_ATTACK)
&& !utype_can_do_action(utype, ACTION_SUICIDE_ATTACK)
&& !utype_can_take_over(utype)))) {
&& !utype_acts_hostile(utype)) {
/* Harmless unit. */
continue;
}
    (1-1/1)