[wesnoth-commits] [wesnoth/wesnoth] 45c2a5: fix mt_rng::rotate_random

gfgtdf noreply at github.com
Tue Mar 19 00:17:51 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 45c2a5aa0e0db342c57779755f2f22425df6b2b4
      https://github.com/wesnoth/wesnoth/commit/45c2a5aa0e0db342c57779755f2f22425df6b2b4
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2019-03-19 (Tue, 19 Mar 2019)

  Changed paths:
    M src/mt_rng.cpp

  Log Message:
  -----------
  fix mt_rng::rotate_random

previously it would write the wrong random state after advancing to a new scenario, so that the first reload after advancing to a new scenario would change the deteministic rng.





More information about the Commits mailing list