Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11477) gen imprs
Home

[Freeciv-Dev] Re: (PR#11477) gen imprs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: vasc@xxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#11477) gen imprs
From: "Marko Lindqvist" <marko.lindqvist@xxxxxxxxxxx>
Date: Sun, 19 Dec 2004 03:18:46 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11477 >

Vasco Alexandre da Silva Costa wrote:
> 
>>[cazfi - Sat Dec 18 16:39:16 2004]:
> 
>>  - can_player_build_improvement_direct() is not checking if small 
>>wonder is already built?
> 
> It is a feature, not a bug. This is in order to allow you to move
> a Small Wonder to another city, just like you can do with Palace.
> See the rationale for allowing this on my genimprs2.diff.gz post.

  I see. But even if I missed it in first attempt, my bug hunter 
instincts tell me that there's bug nearby :-)

  So I should look into callers instead.

  can_build_improvement_direct():

-  return !improvement_redundant(city_owner(pcity),pcity, id, TRUE);
+  return TRUE;

  improvement_redundant() used to check for equiv_repl, now any 
replacement building can be built?


  - ML





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