[Freeciv-Dev] Re: (PR#4620) Re: Re: (PR#5106) assertion in get_defender
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, 15 Aug 2003, Jason Short wrote:
> Calling can_unit_attack_unit_at_tile is not enough.In fact, it's
> already done. We need to call can_player_attack_tile.
...
> I'm not sure about your proposed long-term solution. Do all
> get_defender users correctly check can_player_attack_tile?
No. See eg bool handle_unit_move_request(). This function should be able
to receive illegal requests from the client without dumping core.
- Per
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: (PR#4620) Re: Re: (PR#5106) assertion in get_defender,
Per I. Mathisen <=
|
|