Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] Re: Bugfix: CLAUSE_ADVANCE
Home

[Freeciv-Dev] Re: Bugfix: CLAUSE_ADVANCE

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Thue <thue@xxxxxxx>
Cc: Freeciv dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Bugfix: CLAUSE_ADVANCE
From: Marko Lindqvist <caz@xxxxxxxxx>
Date: Fri, 26 Jan 2001 14:37:31 +0200 (EET)

On Fri, 26 Jan 2001, Thue wrote:

> On Thursday 25 January 2001 15:18, Marko Lindqvist wrote:
> >  When adding clause of type CLAUSE_ADVANCE, check that it have legal
> > tech_id as value. Used to check all existing clauses (regardless of
> > type).
> >
>
> Don't you remove the check for a duplicate clause?

 ?  No.

> Is it garantied that all advances between A_FIRST and A_LAST are valid?
> (retoric question; it isn't)

 Fixed.

 Note that this still does not check whether giver atually knows tech. I
believe that such checks should be done only when treaty is accepted.



 Caz

--

Attachment: tech_clause_fix.diff
Description: Text document


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