Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2000:
[Freeciv-Dev] Re: patch: fix for the city rename update problem
Home

[Freeciv-Dev] Re: patch: fix for the city rename update problem

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: patch: fix for the city rename update problem
From: sebauer@xxxxxxxxxxx (Sebastian Bauer)
Date: Thu, 21 Sep 2000 09:12:15 +0100

Hi David

On 21-Sep-00, David Pfitzner wrote:
> sebauer@xxxxxxxxxxx (Sebastian Bauer) wrote:
> Ew - that "1 &&" and "|=" seems to me a very confusing way to write 
> this!  After all update_descriptions is really just being used as
> a boolean?  

> Eg, I'd prefer 
>  if (draw_city_names && <condition>)) {
>    update_descriptions = 1;
>  }
>  if (draw_city_productions && <condition>)) {
>    update_descriptions = 1;
>  }

Yes, you are right. I created this in a half minute and of course I
had not cared or thought about it enough. Thank you :-)

bye,
Sebastian Bauer




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