[Commits] [wesnoth/wesnoth] 2c4fb6: revert movement of unit alignment init to initiali...

GitHub noreply at github.com
Sun Jul 20 22:21:01 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 2c4fb674a24612b3f909649cb966a00ef02b62e3
      https://github.com/wesnoth/wesnoth/commit/2c4fb674a24612b3f909649cb966a00ef02b62e3
  Author: gfgtdf <tischpapier at gmail.com>
  Date:   2014-07-21 (Mon, 21 Jul 2014)

  Changed paths:
    M src/unit.cpp

  Log Message:
  -----------
  revert movement of unit alignment init to initializer list 

This fixes a bug unit aligment beeing ignored when creating a unit.

Setting this value in the initializer list has no effect becaue it is overwritten by advance_to().

this was changed in https://github.com/wesnoth/wesnoth/commit/30c179b92da29bb03541e8e0c7dfaf1c3c401b35#diff-af3fd7e884f8ab9f39f9088ca4010d0dR1738.





More information about the Commits mailing list