[Commits] [wesnoth/wesnoth] f7c3d1: disallow undo when action was sended

GitHub noreply at github.com
Sun Apr 13 18:02:29 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f7c3d1f7c580467088a5150342e98fdf1620edc5
      https://github.com/wesnoth/wesnoth/commit/f7c3d1f7c580467088a5150342e98fdf1620edc5
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-13 (Sun, 13 Apr 2014)

  Changed paths:
    M src/actions/create.cpp
    M src/actions/move.cpp
    M src/synced_context.cpp
    M src/synced_context.hpp

  Log Message:
  -----------
  disallow undo when action was sended

we now disallow undoing actions that we already sended over the network.
We also disallow undoing moves when the rng was invoked like it's done
for recruits/recalls already.


  Commit: 6dae3e85a3c6cfbac77b429bcecce1981fe1339e
      https://github.com/wesnoth/wesnoth/commit/6dae3e85a3c6cfbac77b429bcecce1981fe1339e
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-13 (Sun, 13 Apr 2014)

  Changed paths:
    M src/synced_context.hpp

  Log Message:
  -----------
  revmoved unused code

this typedef was a leftover from my original plan to pass functions to
run_in_synced_context. I decided to pass strings to
run_in_synced_context at some time.


  Commit: 37cd42238efaa7c33e44462ba718aaa187cf5148
      https://github.com/wesnoth/wesnoth/commit/37cd42238efaa7c33e44462ba718aaa187cf5148
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-13 (Sun, 13 Apr 2014)

  Changed paths:
    M src/synced_context.hpp

  Log Message:
  -----------
  remove outdated comments.


Compare: https://github.com/wesnoth/wesnoth/compare/8d875498b8f8...37cd42238efa


More information about the Commits mailing list