[Commits] [wesnoth/wesnoth] 88de21: check is_replay on [set_global_variable] and [do_c...

GitHub noreply at github.com
Tue Jan 6 22:58:40 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 88de21a5ff548689b91dd75b21001e4bb3dc6d45
      https://github.com/wesnoth/wesnoth/commit/88de21a5ff548689b91dd75b21001e4bb3dc6d45
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-01-06 (Tue, 06 Jan 2015)

  Changed paths:
    M src/game_events/action_wml.cpp
    M src/play_controller.hpp
    M src/replay_controller.hpp
    M src/synced_context.cpp

  Log Message:
  -----------
  check is_replay on [set_global_variable] and [do_command]

adds a new method is_replay() to check whether we are in a replay.
fixes http://gna.org/bugs/?21906
Also also we make [do_command]/run_in_synced_context_if_not_already more
robust by checking is_replay





More information about the Commits mailing list