[Commits] [wesnoth/wesnoth] 7111e9: fire victory/defeat events for observers

GitHub noreply at github.com
Sun Mar 1 16:49:41 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7111e9bbfdf8faa469b980ac54d17297f1c97855
      https://github.com/wesnoth/wesnoth/commit/7111e9bbfdf8faa469b980ac54d17297f1c97855
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

  Changed paths:
    M src/playsingle_controller.cpp

  Log Message:
  -----------
  fire victory/defeat events for observers

Otherwise the carryover information could be calculated wrongly in case
that the host of a mp campaign is an observer.

same applies to heal_all_survivors()


  Commit: 341c31a6b902803d7d3792ccebb2fa2b2ba8df7c
      https://github.com/wesnoth/wesnoth/commit/341c31a6b902803d7d3792ccebb2fa2b2ba8df7c
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

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

  Log Message:
  -----------
  add "scenario_end" event

unlike 'victory' and 'defeat' events this event is synced.


  Commit: 8c0bc92f382a66ca277a8538679aa667dee8aae2
      https://github.com/wesnoth/wesnoth/commit/8c0bc92f382a66ca277a8538679aa667dee8aae2
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-03-01 (Sun, 01 Mar 2015)

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

  Log Message:
  -----------
  sync "time over" event

this makes random number generation and user choices during the time
over event synced.


Compare: https://github.com/wesnoth/wesnoth/compare/95068fe2b19f...8c0bc92f382a


More information about the Commits mailing list