Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2001:
[Freeciv-Dev] Re: Building wonder in stealth mode! (PR #764) (PR#765)
Home

[Freeciv-Dev] Re: Building wonder in stealth mode! (PR #764) (PR#765)

[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] Re: Building wonder in stealth mode! (PR #764) (PR#765)
From: Davide Pagnin <nightmare@xxxxxxxxxx>
Date: Sat, 5 May 2001 08:49:26 -0700 (PDT)

                Hi All!
Content-Type: multipart/mixed; boundary="------------040204060100010002070303"

This is a multi-part message in MIME format.
--------------040204060100010002070303
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

                Hi All!

This little patch, correct the problem I pointed out in a clean and 
simple way. It simply make visible also already built wonder that some 
is going on building in some other city!

        Ciao, Davide

--------------040204060100010002070303
Content-Type: text/plain;
 name="no_stealth_wonders.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="no_stealth_wonders.diff"

diff -urN -Xfreeciv.orig/diff_ignore freeciv.orig/server/report.c 
freeciv/server/report.c
--- freeciv.orig/server/report.c        Thu Oct 12 13:36:09 2000
+++ freeciv/server/report.c     Sat Apr 21 16:42:14 2001
@@ -213,7 +213,6 @@
   }
   for (i=0;i<game.num_impr_types;i++) {
     if (is_wonder(i)) {
-      if (!game.global_wonders[i]) {
        players_iterate(pplayer) {
          city_list_iterate(pplayer->cities, pcity2) {
            if (pcity2->currently_building == i && !pcity2->is_building_unit) {
@@ -224,7 +223,6 @@
            }
          } city_list_iterate_end;
        } players_iterate_end;
-      }
     }
   }
   page_conn(dest, _("Traveler's Report:"),

--------------040204060100010002070303--




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: Building wonder in stealth mode! (PR #764) (PR#765), Davide Pagnin <=