URL:
  <http://gna.org/patch/?3360>

                 Summary: Fix for bug #19862 and more
                 Project: Battle for Wesnoth
            Submitted by: lipk
            Submitted on: Tue 03 Jul 2012 02:34:24 PM GMT
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This patch fixes #19862 and a bunch of other (possibly not yet spotted) bugs
related to transferring control of sides in mp games.
The bugs:
* droiding your side make you become an observer
* undroiding your side during the turn of someone else results in your
messages appearing in that side's color on your client (a.k.a. bug #19862)
* when passing control of a side to a player the gui isn't properly updated
* droiding/undroiding a side during that side's turn would make the actions of
that side visible for everyone for that turn
And the respective fixes:
* modified is_observer() to return true only if there're no human or human_ai
sides
* solved as a side effect of fix 1
* added the appropriate function calls in turn_info::process_network_data()
* removed unnecessary update_gui_to_player() call at playmp_controller.cpp:492



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 03 Jul 2012 02:34:24 PM GMT  Name: change_control_fix.diff  Size:
2kB   By: lipk

<http://gna.org/patch/download.php?file_id=15964>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3360>

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


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to