[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]
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
|
|