Author: sveinung Date: Sat Apr 1 22:13:25 2017 New Revision: 35185 URL: http://svn.gna.org/viewcvs/freeciv?rev=35185&view=rev Log: rscompat: the "Provoking" uflag was added in 3.0.
See hrm Bug #648789 Modified: trunk/server/rscompat.c Modified: trunk/server/rscompat.c URL: http://svn.gna.org/viewcvs/freeciv/trunk/server/rscompat.c?rev=35185&r1=35184&r2=35185&view=diff ============================================================================== --- trunk/server/rscompat.c (original) +++ trunk/server/rscompat.c Sat Apr 1 22:13:25 2017 @@ -210,20 +210,6 @@ 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; } _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits