Complete.Org: Mailing Lists: Archives: freeciv-ai: April 2003:
[freeciv-ai] Re: (PR#4018) Virtual unit in CHECK_UNIT
Home

[freeciv-ai] Re: (PR#4018) Virtual unit in CHECK_UNIT

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory.Berkolaiko@xxxxxxxxxxxx
Subject: [freeciv-ai] Re: (PR#4018) Virtual unit in CHECK_UNIT
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Thu, 17 Apr 2003 12:22:02 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Thu, 17 Apr 2003, Gregory Berkolaiko wrote:
> Essentially, AI constructs a virtual unit in assess_danger, if the enemy
> is going to build it next turn.Then tries to estimate the distance, in
> assess_distance.If boatid != 0, assess_distance calls find_beachhead,
> which attempts to verify the unit.
>
> Easiest solution: kill the assert.

Best solution: Kill this stupid way to assess danger. It is in all
likelihood totally ineffective, and just wastes CPU. Failing that, just
snipe that CHECK_UNIT.

  - Per




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