Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2002:
[Freeciv-Dev] [Patch] server trade options write fix (PR#1693)
Home

[Freeciv-Dev] [Patch] server trade options write fix (PR#1693)

[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] [Patch] server trade options write fix (PR#1693)
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Wed, 10 Jul 2002 01:58:32 -0700 (PDT)

Hi,

this fixes the options save bug part of PR#1488. It does not
fix the inconvinience in setting the variables in the server
console.

A non-default ( >0 ) value for notradesize cannot be read
correctly from a server options file, because at the time it is
read, the fulltradesize variable is zero, and thus the input 
checking routine rejects the notradesize setting.

The patch claims to fix this, by simply changing the sequence
of both variables, i.e. putting "fulltradesize" before
"notradesize".

Christian

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

Attachment: write_options_1.diff
Description: Text document


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] [Patch] server trade options write fix (PR#1693), Christian Knoke <=