[Freeciv-Dev] Re: (PR#18481) can_attack_non_native()
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=18481 >
Marko Lindqvist wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=18481 >
>
>
> Land units cannot attack ocean tiles. Sea units can attack land tiles.
> That is, some units are able to attack !is_native_terrain() tiles,
> others are not. First step to separate this behavior from move_type is
> to create function
> bool can_attack_non_native(struct unit_type *utype)
> and to add calls to it where necessary. In its first incarnation
> function should just compare move_type to SEA_MOVING.
Absolutely.
-jason
- [Freeciv-Dev] Re: (PR#18481) can_attack_non_native(),
Jason Dorje Short <=
|
|