Follow-up Comment #1, patch #1145 (project wesnoth):
ok,
you forgot _main and changelog
in heal_improve_eval :
* check will return the FIRST unit that is a potential candidate. however we
never check for other units
* in get_free_loc you check if "check" exists, but at that point it does
exist (checked earlier)
heal_improve_move has similar problems
in unit_heal_control
* I don't understand the point of the checker... it just returns its
parameter
* there are still some debug_print lying around
you should move to the location that as many healed units as possible can
move, then move these units
and you should do all moves in a single candidate move to avoid someone
"stealing" your wounded before you get them
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1145>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs