[Commits] [wesnoth/wesnoth] 75cc7e: fix chat during delay is start event blocks client...

GitHub noreply at github.com
Sun Jul 23 21:34:35 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 75cc7e62f65334481924579500747a589ddfb5ae
      https://github.com/wesnoth/wesnoth/commit/75cc7e62f65334481924579500747a589ddfb5ae
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2017-07-23 (Sun, 23 Jul 2017)

  Changed paths:
    M src/play_controller.cpp

  Log Message:
  -----------
  fix chat during delay is start event blocks client #1857

the `replay_->at_end()` check was added in 81b6c3ab9957b25261c2ac683b49ec1e30279fb8 and is not needed anymore after 9ca66784794fa6eed0fd74558a2368f42030087e

This also removes the `gamestate().gamedata_.phase() != game_data::PLAY` check which was previously there to fix the case when a [change_controller] was received while waiting for a serversided random seed during a start event. But that's not needed anymore after https://github.com/wesnoth/wesnoth/commit/11daa5113a2013f0489d1effcb94147bd2fe7886 since now the client doesn't anymore call maybe_do_init_side whenever he reveives a [change_controller]





More information about the Commits mailing list