URL:
  <http://gna.org/bugs/?14360>

                 Summary: Moving units does not change their facing
                 Project: Battle for Wesnoth
            Submitted by: shadowmaster
            Submitted on: Wednesday 09/23/2009 at 15:15
                Category: Bug
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group:  None of the others
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.7.4+svn r38335 and later
        Operating System: all

    _______________________________________________________

Details:

In Wesnoth 1.7.5+svn (38766), moving units does not change their facing,
although attacking other units will still change the attacker's facing.

This is caused by a change that was part of revision 38335 in 1.7.4+svn, in
particular the removal of the following line of code from unit_display.cpp,
in unit_display::move_unit():

++
u.set_facing(path[path.size()-2].get_relative_dir(path[path.size()-1]));
--

Check the complete diff for details:
http://svn.gna.org/viewcvs/wesnoth?view=rev&rev=38335

Restoring this line fixes the bug, although I don't know if it was supposed
to be removed for other reasons in the first place.





    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?14360>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to