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

                 Summary: Client considers phases later than that of user to
be on next turn
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 11 Dec 2015 03:01:08 PM EET
                Category: client
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: Ready For Test
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.5.2, 2.6.0, 3.0.0

    _______________________________________________________

Details:

client handle_end_phase() increases local turn counter. In alternating
movement modes this means later phases will be considered to take place on
later turn AND once server happens to give authoritative info resetting the
turn counter to current turn, client does not update it again for the actual
turn change.

Correct place for the local turn counter increase, if it's needed at all, is
handling of end_turn -packet. That's what the attached patch does.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 11 Dec 2015 03:01:08 PM EET  Name: ClientTurnChangeOnTurnEnd.patch 
Size: 2kB   By: cazfi

<http://gna.org/bugs/download.php?file_id=25971>
-------------------------------------------------------
Date: Fri 11 Dec 2015 03:01:08 PM EET  Name:
ClientTurnChangeOnTurnEnd-S2_5.patch  Size: 2kB   By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to