URL:
  <http://gna.org/bugs/?14548>

                 Summary: Cannot establish embassies when Marco Polo is built
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: samedi 17.10.2009 à 16:13
                Category: general
                Severity: 2 - Minor
                Priority: 3 - Low
                  Status: Ready For Test
             Assigned to: pepeto
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.1.10

    _______________________________________________________

Details:

Following the thread from bug #14448 and bug #14452.

Now embassies can be created via diplomatic treaties, even if Marco Polo
Embassy is built.  Now fixing it in diplomat actions.

The patch S2_1 just enables it.  The one for S2_2 and trunk divides the
function player_has_embassy() into 3 function:
* player_has_real_embassy(): returns whether a real embassy was founded.
* player_has_embassy_from_effect(): returns whether the player has a virtual
embassy from an effect.
* player_has_embassy(): combines both.
struct player field 'embassy' is renamed real_embassy.  Same thing in struct
packet_player_info.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: samedi 17.10.2009 à 16:13  Name: trunk_S2_2_diplomat_embassy.diff 
Size: 12 ko   By: pepeto

<http://gna.org/bugs/download.php?file_id=7019>
-------------------------------------------------------
Date: samedi 17.10.2009 à 16:13  Name: S2_1_diplomat_embassy.diff  Size: 752
o   By: pepeto

<http://gna.org/bugs/download.php?file_id=7020>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?14548>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to