[wesnoth-commits] [wesnoth/wesnoth] 8d1c27: Fix #2852: Reset statistics when rewinding a repla...

jostephd noreply at github.com
Mon Mar 25 13:38:27 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 8d1c2780b7799de94a5dd0718943e1b0e22f690d
      https://github.com/wesnoth/wesnoth/commit/8d1c2780b7799de94a5dd0718943e1b0e22f690d
  Author: josteph <josteph at fastmail.com>
  Date:   2019-03-25 (Mon, 25 Mar 2019)

  Changed paths:
    M src/playsingle_controller.cpp
    M src/statistics.cpp
    M src/statistics.hpp

  Log Message:
  -----------
  Fix #2852: Reset statistics when rewinding a replay to the beginning.

Currently, while watching a replay of Scenario N, the statistics dialog
has the following options:

- All scenarios
- S1
- S2
- ...
- SN
- SN

The last option shows the statistics of Scenario N from the beginning
through the current point in the replay.  The other options show
end-of-scenario stats of each scenario and the cumulative stats of all
scenarios through the end of SN.

This patch causes the stats shown by the the second SN option to reset
to zero when the "reset replay" ("stop") button is selected.


  Commit: 476c133c05b5b4b6568c0cf2a6682f59acc2b16a
      https://github.com/wesnoth/wesnoth/commit/476c133c05b5b4b6568c0cf2a6682f59acc2b16a
  Author: josteph <josteph at fastmail.com>
  Date:   2019-03-25 (Mon, 25 Mar 2019)

  Changed paths:
    M src/hotkey/hotkey_handler_sp.cpp
    M src/playsingle_controller.cpp
    M src/playsingle_controller.hpp

  Log Message:
  -----------
  Also fix #2852 when using "Back to turn" in a networked MP game.


  Commit: 0bc63a2eebc0ea7caa4406592c7b93e62d2647ec
      https://github.com/wesnoth/wesnoth/commit/0bc63a2eebc0ea7caa4406592c7b93e62d2647ec
  Author: josteph <josteph at fastmail.com>
  Date:   2019-03-25 (Mon, 25 Mar 2019)

  Changed paths:
    M changelog.md

  Log Message:
  -----------
  Add #2852 to changelog


Compare: https://github.com/wesnoth/wesnoth/compare/dde28887d343...0bc63a2eebc0



More information about the Commits mailing list