[Freeciv-Dev] Re: Bugfix: CLAUSE_ADVANCE
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
--
tech_clause_fix.diff
Description: Text document
|
|