[wesnoth-commits] [wesnoth/wesnoth] 81661b: clientside fix for #3717 : oos for allies caused b...

GitHub noreply at github.com
Tue Nov 27 01:56:57 UTC 2018


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 81661bdfa4b2f47990dea7276c9c8aa71e745b7c
      https://github.com/wesnoth/wesnoth/commit/81661bdfa4b2f47990dea7276c9c8aa71e745b7c
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2018-11-27 (Tue, 27 Nov 2018)

  Changed paths:
    M src/playturn.cpp

  Log Message:
  -----------
  clientside fix for #3717 : oos for allies caused by planned recruits

a servesided fix was already pushed, both fixes fix the issue independly: the issue will only appear when none of there fixes are present in the curent game.

The probem was that the wb network handler preiously might create units and the unit ctor would wrongly assumes it was in a synced context which messed up the unit id counter. I asume this happend because turn_info::process_network_data was called during the play_slice calls during an animation loop to process chat messages but actually received wb data.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Commits mailing list