Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] Re: [PATCH] get_map_area() (PR#1050)
Home

[Freeciv-Dev] Re: [PATCH] get_map_area() (PR#1050)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [PATCH] get_map_area() (PR#1050)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 11 Nov 2001 18:49:55 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Thu, Nov 01, 2001 at 08:35:15AM -0800, jdorje@xxxxxxxxxxxxxxxxxxxxx wrote:
> -  while ((number*map.xsize*map.ysize)/2000 && count++<map.xsize*map.ysize*2) 
> {
> +  while (get_map_area()*map.ysize/2000 && count++<get_map_area()*2) {

Mistake. number isn't used anymore. The term
"(number*map_num_tiles())/2000" is odd as a boolean value. I have
replaced it with "number * map_num_tiles() >= 2000". This should be
the same. However I still don't know if this is the original
intention.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "How about the new language C&? No, that's not 'c ampersand', 'c reference', 
  'reference to c' or 'c and'. It's pronounced 'campersand', to confuse the 
  hell out of people who are unfamiliar with it, and it will, of course, 
  have no pointers."
    -- Xazziri in comp.lang.c++ about C#


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