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...*

Bug #648789 ยป 3.1-rscompat-the-Provoking-uflag-was-added-in-3.0.patch

Sveinung Kvilhaugsvik, 2017-03-29 12:36 PM

View differences:

server/rscompat.c
fc_assert(unit_type_flag_id_is_valid(flag));
BV_SET(ptype->flags, flag);
}
if (utype_can_do_action(ptype, ACTION_SPY_INVESTIGATE_CITY)
|| utype_can_do_action(ptype, ACTION_SPY_POISON)
|| utype_can_do_action(ptype, ACTION_SPY_STEAL_GOLD)
|| utype_can_do_action(ptype, ACTION_SPY_SABOTAGE_CITY)
|| utype_can_do_action(ptype, ACTION_SPY_TARGETED_SABOTAGE_CITY)
|| utype_can_do_action(ptype, ACTION_SPY_STEAL_TECH)
|| utype_can_do_action(ptype, ACTION_SPY_TARGETED_STEAL_TECH)
|| utype_can_do_action(ptype, ACTION_SPY_INCITE_CITY)
|| utype_can_do_action(ptype, ACTION_SPY_BRIBE_UNIT)
|| utype_can_do_action(ptype, ACTION_SPY_SABOTAGE_UNIT)
|| 0 < ptype->transport_capacity) {
BV_SET(ptype->flags, UTYF_PROVOKING);
}
} unit_type_iterate_end;
}
    (1-1/1)