[wesnoth-commits] [wesnoth/wesnoth] ac9246: Micro AIs: fix unit variables being lost in replays

mattsc noreply at github.com
Thu Jun 10 18:43:07 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ac9246aba181f56ead2676e917ba42aafd74e239
      https://github.com/wesnoth/wesnoth/commit/ac9246aba181f56ead2676e917ba42aafd74e239
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2021-03-13 (Sat, 13 Mar 2021)

  Changed paths:
    M data/ai/micro_ais/micro_ai_unit_variables.lua

  Log Message:
  -----------
  Micro AIs: fix unit variables being lost in replays

Some Micro AIs save information in unit variables. Examples are the patrol and messenger AIs, which save the next waypoint for a unit. This needs to be done as a synced command, so that the information is not lost when continuing a game from a replay.


  Commit: d8e472e753d056aa30df977f5d91d77aeeffd2b3
      https://github.com/wesnoth/wesnoth/commit/d8e472e753d056aa30df977f5d91d77aeeffd2b3
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2021-06-10 (Thu, 10 Jun 2021)

  Changed paths:
    M data/ai/micro_ais/micro_ai_unit_variables.lua

  Log Message:
  -----------
  Merge pull request #5609 from mattsc/mai_fix_replay

Micro AIs: fix unit variables being lost in replays


Compare: https://github.com/wesnoth/wesnoth/compare/152e18b9d658...d8e472e753d0



More information about the Commits mailing list