[Freeciv-Dev] (PR#11336) [Patch] movetype.[ch]
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11336 >
> Renamed is_water_unit() -> is_sailing_unittype() for consistency. We
> now have:
> is_ground_unit() & is_ground_unittype(),
> is_air_unit() & is_air_unittype(),
> is_heli_unit() & is_heli_unittype(),
> is_sailing_unit() & is_sailing_unittype()
Please consider the following:
is_ground and is_air refer to the substance in/on which the movement is
performed.
is_sailing refers to the way the movement is done
So I think is_sea_unit is better (and shorter too!)
The reason I am asking is because I could never remember the name
is_sailing...
|
|