Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Buglet.
Home

[Freeciv-Dev] Buglet.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Buglet.
From: Gaute B Strokkenes <gs234@xxxxxxxxx>
Date: Fri, 10 Aug 2001 01:34:11 +0200

There seems to be a bug in tile_move_cost_ai() map.c.  I think the
right half of the assertion on line 977 should be y < map.ysize,
rather than y <= map.ysize.  Or?  If this is intentional, I think it
is sufficiently non-obvious that someone who knows this part of the
code should add a comment.  Otherwise, we should replace the line with
`assert(is_real_tile(x, y);'.

-- 
Big Gaute                               http://www.srcf.ucam.org/~gs234/
I know things about TROY DONAHUE that can't even be PRINTED!!


[Prev in Thread] Current Thread [Next in Thread]