Follow-up Comment #9, patch #5367 (project freeciv): In the case you compute all values at the beginning of the unit process, there would be probably no reason to keep 'best_trans != ptrans' tests and fallback to 'best = cur'. I would suggest then to replace every 'best_trans = ptrans' occurence by:
best_trans = ptrans; best = cur; continue; _______________________________________________________ Reply to this item at: <http://gna.org/patch/?5367> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev