Complete.Org: Mailing Lists: Archives: freeciv-ai: December 2002:
[freeciv-ai] Re: settlers.c question

[freeciv-ai] Re: settlers.c question

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] Re: settlers.c question
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Wed, 4 Dec 2002 18:39:45 +0100

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);



 email: rf13@xxxxxxxxxxxxxxxxx
 "USENET is *not* the non-clickable part of WWW!"

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