[Commits] [wesnoth/wesnoth] d11974: fix unit having wrong locations in on undo/redo ha...

GitHub noreply at github.com
Wed Nov 23 22:24:15 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: d11974ccc5e19aa68b845ff0dbc281e82820d91a
      https://github.com/wesnoth/wesnoth/commit/d11974ccc5e19aa68b845ff0dbc281e82820d91a
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2016-11-23 (Wed, 23 Nov 2016)

  Changed paths:
    M src/actions/undo_action.cpp

  Log Message:
  -----------
  fix unit having wrong locations in on undo/redo handler

this code caused the unit location stored in the unit structure to be different from the real unit position on the map (as stored in the unit_map structure), which lead to bugs in the executed wml later.





More information about the Commits mailing list