[Commits] [wesnoth/wesnoth] 20267c: fix get_user_choice_multiple_sides

GitHub noreply at github.com
Sun Jun 15 22:05:14 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 20267cec05f36202fafb306a6304e272ce95bea3
      https://github.com/wesnoth/wesnoth/commit/20267cec05f36202fafb306a6304e272ce95bea3
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-06-15 (Sun, 15 Jun 2014)

  Changed paths:
    M src/CMakeLists.txt
    M src/SConscript
    M src/playmp_controller.cpp
    M src/playmp_controller.hpp
    M src/replay.cpp
    M src/synced_context.cpp
    M src/synced_context.hpp
    A src/syncmp_handler.cpp
    A src/syncmp_handler.hpp

  Log Message:
  -----------
  fix get_user_choice_multiple_sides

the comment in replay.cpp says we want "send data to others" so
calling "pull_remote_user_input" is not really correct. I added a
function synced_context::send_user_choice for this case.

this fixes a bug where players can get an oos error in
wesnoth.synconize_choice
I backported a simpler version to 1.12:
0e79ef919f5718cd8024bbbac31ed1e7b67e4fc7 because i don't know whether
this bug can happen in 1.12 too.





More information about the Commits mailing list