[Commits] [wesnoth/wesnoth] 0e79ef: fix get_user_choice for other sides

GitHub noreply at github.com
Sun Jun 15 17:04:40 UTC 2014


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

  Changed paths:
    M src/ai/manager.cpp
    M src/ai/manager.hpp
    M src/replay.cpp
    M src/synced_context.cpp
    M src/synced_context.hpp

  Log Message:
  -----------
  fix get_user_choice for other sides

as the comment in replay.cpp says we want "send data to others" so
calling "pull_remote_user_input" is not really correct. Since
plamp_controller::handle_generaic_command("ai_user_input")
also invokes send_data we just don't call it with "sync_network" in this
case. This solution is still not optmial but it has the smallest chance
to break things since epecialy because this should go to 1.12 too.

Conflicts:
	src/ai/manager.cpp





More information about the Commits mailing list