Follow-up Comment #2, patch #1343 (project wesnoth):
I've done a second version of the patch,
here instead of sorting units to be healed by map coordinates,
we pick a first one at random
and select the nearest from it to be the next to display.
Complexity is O(n2) instead of O(n log n) but I don't think
it really matters according to the low number of units in play.
(file #7063)
_______________________________________________________
Additional Item Attachment:
File name: healing_order-2.patch Size:3 KB
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1343>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs