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:
<http://gna.org/bugs/?21892>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev