Follow-up Comment #2, bug #21892 (project freeciv):

Sorry for late reaply (and actually matter of new ticket, if you agree), but
could this entire iteration

         unit_class_iterate(punitclass) {
-          if (dai_uclass_move_type(punitclass) == UMT_LAND
+          if (uclass_has_flag(punitclass, UCF_CAN_OCCUPY_CITY)
               && can_unit_type_transport(unit_type(punit), punitclass)) {
-            /* It can transport some land moving units! */

be made cached boolean variable in S2_5/TRUNK, where ai type can easily cache
data specific to it for each unit_type?


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to