Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2000:
[Freeciv-Dev] Re: Hoover Dam
Home

[Freeciv-Dev] Re: Hoover Dam

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv-dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Hoover Dam
From: Daniel Zinsli <s830+priv@xxxxxxxxx>
Date: 07 May 2000 18:16:24 +0200

Richard Atkins <rja@xxxxxxxxxxx> writes:

> This seems to be due to a patch on Mar 15 not removing both restrictions
> on the Dam (B_HOOVER is in can_eventually_build_improvement(), but not
> can_build_improvement() in common/city.h). Fixing this will let any city
> build the dam (Yay!).

Oops, my fault probably.
can_eventually_build_improvement is for worklists only, correct?
 
--- freeciv-cvs/common/city.c   Sun May  7 18:15:24 2000
+++ freeciv/common/city.c       Sun May  7 18:17:11 2000
@@ -481,9 +481,9 @@
       !is_terrain_near_tile(pcity->x, pcity->y, T_OCEAN))
     return 0;
   
-  /* A hydro dam and the Hoover dam wonder have some fun terrain 
+  /* A hydro dam have some fun terrain 
      requirements. */
-  if ((id == B_HYDRO || id == B_HOOVER)
+  if ((id == B_HYDRO)
       && !(map_get_terrain(pcity->x, pcity->y) == T_RIVER)
       && !(map_get_special(pcity->x, pcity->y) & S_RIVER)
       && !(map_get_terrain(pcity->x, pcity->y) == T_MOUNTAINS)


-- 
Daniel Zinsli
University of Bergen, Norway
Finger s830@xxxxxxxxxxxxxxx for more info



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: Hoover Dam, Daniel Zinsli <=