Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2004:
[Freeciv-Dev] Re: (PR#9637) Ocean numbers
Home

[Freeciv-Dev] Re: (PR#9637) Ocean numbers

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gregory.Berkolaiko@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#9637) Ocean numbers
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Mon, 9 Aug 2004 02:08:05 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9637 >

> 2. This code:
> 
> +  if ((is_land && is_ocean(map_get_terrain(x, y)))
> +      || (!is_land && !is_ocean(map_get_terrain(x, y)))) {
>
Proposition:

 if (!(is_land ^ is_ocean(map_get_terrain(x, y)))) {

--
mateusz


----------------------------------------------------------------------
To moze byc ekscytujace lato... >>> http://link.interia.pl/f181c





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