mail[Wesnoth-commits] r33610 - /trunk/src/unit_display.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by alinktomine on March 13, 2009 - 22:08:
Author: alink
Date: Fri Mar 13 22:08:13 2009
New Revision: 33610

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33610&view=rev
Log:
Fix bug #13179 "Unit's move have sometimes a jumpy start"
by applying a small variant of the patch posted in the bugreport

Modified:
    trunk/src/unit_display.cpp

Modified: trunk/src/unit_display.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_display.cpp?rev=33610&r1=33609&r2=33610&view=diff
==============================================================================
--- trunk/src/unit_display.cpp (original)
+++ trunk/src/unit_display.cpp Fri Mar 13 22:08:13 2009
@@ -72,6 +72,7 @@
         animator.pause_animation();
        disp->scroll_to_tiles(a,b,game_display::ONSCREEN,true,0.0,false);
         animator.restart_animation();
+       new_animation_frame(); //fix bug #13179: Unit's move have sometimes a 
jumpy start
        int target_time = animator.get_animation_time_potential();
        target_time += 150;
        target_time -= target_time%150;




Related Messages


Powered by MHonArc, Updated Fri Mar 13 22:40:33 2009