Author: ai0867 Date: Fri Oct 10 01:18:17 2008 New Revision: 29998 URL: http://svn.gna.org/viewcvs/wesnoth?rev=29998&view=rev Log: * Work around bug #12428.
Modified: trunk/src/actions.cpp Modified: trunk/src/actions.cpp URL: http://svn.gna.org/viewcvs/wesnoth/trunk/src/actions.cpp?rev=29998&r1=29997&r2=29998&view=diff ============================================================================== --- trunk/src/actions.cpp (original) +++ trunk/src/actions.cpp Fri Oct 10 01:18:17 2008 @@ -279,8 +279,10 @@ attacker_weapon = 0; if (attacker_weapon == -1) { - VALIDATE(defender_weapon == -1, - _("An invalid weapon is send, possibly due to the Python AI.")); + // Following lines are currently commented out because they trigger when + //the attack is removed in attack_end. (FIXME: bug #12428) + //VALIDATE(defender_weapon == -1, + // _("An invalid weapon is send, possibly due to the Python AI.")); attacker_weapon = choose_attacker_weapon(attacker, defender, map, teams, units, status, attacker_loc, defender_loc, _______________________________________________ Wesnoth-commits mailing list Wesnoth-commits@gna.org https://mail.gna.org/listinfo/wesnoth-commits