<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39624 >
> [EMAIL PROTECTED] - Lun. AoĆ». 27 14:17:04 2007]: > > This patch introduces two new simple feature for gtk2 client: > > * Select same type in tile: Select all units with same type as > selected units that has the same tile too > * Select all (in select unit dialog): Ability to select all units of > a tile at once > > Hope to be useful > > Regards > ____________________ > Arman Ordookhani > > I think you should add a test: if (!punit->ai.control). And a thing more, to iterate all units on a tile, I think it's better to use: unit_list_iterate(punit->tile->units, punit2). _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev