[Commits] [wesnoth/wesnoth] 11c33d: leave the synced context for drawing

GitHub noreply at github.com
Wed Apr 16 21:42:51 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 11c33d6e44743c5d0967e1d842820d9dba5a77f1
      https://github.com/wesnoth/wesnoth/commit/11c33d6e44743c5d0967e1d842820d9dba5a77f1
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-16 (Wed, 16 Apr 2014)

  Changed paths:
    M src/display.cpp
    M src/synced_context.cpp
    M src/synced_context.hpp

  Log Message:
  -----------
  leave the synced context for drawing

if we call draw during the synced context we don't want that possible
calls of rng during the draw confuse the rng. This can for example happen
if someone uses the rng in a SUF for an ability.


  Commit: abb052a68abc37647177a9b3ec62ff7e6e85d1e4
      https://github.com/wesnoth/wesnoth/commit/abb052a68abc37647177a9b3ec62ff7e6e85d1e4
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-16 (Wed, 16 Apr 2014)

  Changed paths:
    M src/replay.cpp
    M src/replay.hpp

  Log Message:
  -----------
  add replay::add_start_if_not_there_yet

the intention is to fix 21927 in a later patch


  Commit: 92822790715f2048fad18c6f21fad674b8eead3d
      https://github.com/wesnoth/wesnoth/commit/92822790715f2048fad18c6f21fad674b8eead3d
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2014-04-16 (Wed, 16 Apr 2014)

  Changed paths:
    M src/replay.cpp
    M src/replay_controller.cpp

  Log Message:
  -----------
  fix 21926

we now add a [start] in replays if there is none.


Compare: https://github.com/wesnoth/wesnoth/compare/b7d22fea3b20...92822790715f


More information about the Commits mailing list