URL:
<http://gna.org/bugs/?13054>
Summary: Using slow speed causes backward teleportation at
the start of a unit's move
Project: Battle for Wesnoth
Submitted by: alink
Submitted on: Tuesday 02/24/2009 at 00:03
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Graphics
Status: None
Privacy: Public
Assigned to: boucman
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: trunk r33052
Operating System: Debian GNU/Linu
_______________________________________________________
Details:
Changing animation speed to minimum in preferences, move any unit, the unit
go fast to the third hex, teleport back to the second, then walk slowly as
expected but (first hex being the source hex).
There is also tiny jumps between hexes (not counting the first big one). Undo
and redo seems unaffected by these glitches.
A possible fix: in unit_animation.cpp:947 removing the " - 20/speed" (or if
it's needed, maybe just control its value somehow) This kill all these
problems and doesn't seems to break anything else. It also make the whole
move smoother.
>From some debug tests, a low speed make the code skip the loop the first
time. And when using a speed of 0.75, the glitch and the skip of the loop
happen less often but are linked.
PS: this is an edited version from #wesnoth-dev logs
http://wesnoth.debian.net/%23wesnoth-dev-2009-02-23.log
starting from 00:41 -> 02:25 with small questions about related code
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?13054>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs