[Freeciv-Dev] Re: Unsafe assertions. (PR#864)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, 26 Jul 2001, Jason Dorje Short wrote:
>
> I do believe is_normal_map_pos() is a good check that should be used.
>
That's what I would do. is_normal is a stronger assertion than is_real, so
it makes sense to keep using that one. If it fails somewhere, figure out if
it should have been a check for is_real, or if the author intended to
normalize the coordinate inside the assert (bad coder!).
|
|