[Freeciv-Dev] Re: is_real_tile
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Sun, 11 Mar 2001, cjmorlan@xxxxxxxxxxxx wrote:
> This function, in common/map.c, only checks the y co-ordinate.
> int is_real_tile(int x, int y)
> return y >= 0 && y < map.ysize;
> Is there some reason for this, or did someone just forget to add a
> && x >= 0 && x < map.xsize
It's deliberate. The function is supposed to check whether x, y
refers to a real tile. This is note the same as whether x, y are
Big Gaute http://www.srcf.ucam.org/~gs234/
All I can think of is a platter of organic PRUNE CRISPS being trampled
by an army of swarthy, Italian LOUNGE SINGERS...