Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2002:
[Freeciv-Dev] Re: behavior of notify_embassies (PR#2153)
Home

[Freeciv-Dev] Re: behavior of notify_embassies (PR#2153)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: behavior of notify_embassies (PR#2153)
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Tue, 8 Oct 2002 18:32:28 +0200

On Tue, Oct 08, 2002 at 09:08:47AM -0700, nightmare@xxxxxxxxxx wrote:
> Full_Name: Davide Pagnin
> Version: 1.13.1-devel
> Distribution: Built from source
> Client: Both (or N/A)
> OS: 
> Submission from: (NULL) (193.205.82.100)
> 
> 
> On July 20, behavior of player_has_embassy has been changed.
> 
> This function now returns TRUE, in the case we ask if a player has
> an embassy with himself.
> 
> This can be arguable, but this is not the point of this report.
> 
> The behavior change of player_has_embassy, does impact on the behavior
> of notify_embassies function.
> 
> This function is called in:
> server/cityturn.c
> server/diplhand.c
> server/diplomats.c
> server/plrhand.c
> server/unittools.c
> 
> And all that calls have their behavior modified by the player_has_embassy
> behavior change.
> 
> I'm not sure that all of those behavior changes are wanted, at least one
> such case is wrong (IMHO)

At least one case has been fixed inbetween (PR#1862).

> 
> If you look into unittools.c notify_embassies call, you'll found that
> a player will get 2 notification from getting a tech from a hut.
> 
> 

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.


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