Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2002:
[Freeciv-Dev] tradesize variables (PR#1488)
Home

[Freeciv-Dev] tradesize variables (PR#1488)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] tradesize variables (PR#1488)
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Wed, 22 May 2002 13:34:08 -0700 (PDT)

CVS 22 MAY 2002

Enter in civserver:

> set notradesize 3
> set fulltradesize 5

The first statement is rejected with an error message,
because notradesize > fulltradesize. You don't expect this,
it is the only interdepency between variable assignments.

I suggest, just allow the first statement, and give fulltradesize
dominance, that is, if notradesize > fulltradesize, just ignore
notradesize. Change the help text to reflect this.

Also note, if you issue the two statements above, and then:

> write setting

restart civserver, and:

> read setting

the result is:

notradesize   +=0 
fulltradesize + 5 

which is faulty.

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] tradesize variables (PR#1488), Christian Knoke <=