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


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

Header


Content

Posted by jeremy . rosen on October 29, 2006 - 11:10:
Author: boucman
Date: Sun Oct 29 11:10:27 2006
New Revision: 14109

URL: http://svn.gna.org/viewcvs/wesnoth?rev=14109&view=rev
Log:
fix a potential bad redraw in very high turbo speed

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=14109&r1=14108&r2=14109&view=diff
==============================================================================
--- trunk/src/unit_display.cpp (original)
+++ trunk/src/unit_display.cpp Sun Oct 29 11:10:27 2006
@@ -92,8 +92,8 @@
                const gamemap::location& ref_loc =pos<0.5?a:b;
                if(pos >= 0.5) pos = pos -1;
                temp_unit.set_walking(disp,ref_loc);
+               temp_unit.set_offset(pos);
                disp.place_temporary_unit(temp_unit,ref_loc);
-               temp_unit.set_offset(pos);
                disp.draw();
                events::pump();
                disp.delay(10);




Related Messages


Powered by MHonArc, Updated Sun Oct 29 18:41:15 2006