[freeciv-ai] Re: settlers.c question
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, Dec 04, 2002 at 02:18:57PM +0000, Per I. Mathisen wrote:
> Please take a look at the attached patch and tell me why
> is_already_assigned() can't be removed in this way (you will also need to
> look at the code in question, merely looking at the patch is not enough).
> AFAICS this function is totally braindamaged, and the only useful thing it
> can possibly do can done better by is_non_allied_unit_tile().
>
> Possibly it was once intended to stop many settlers from trying to do the
> same thing, but it doesn't do that either...
Either I missed something or you missed this
> - return TEST_BIT(map_get_tile(x, y)->assigned, pplayer->player_no);
test.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"USENET is *not* the non-clickable part of WWW!"
|
|