mail[Wesnoth-commits] r34297 - /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 March 30, 2009 - 20:28:
Author: boucman
Date: Mon Mar 30 20:28:26 2009
New Revision: 34297

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34297&view=rev
Log:
display bars during recruiting anims to avoid flickering

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=34297&r1=34296&r2=34297&view=diff
==============================================================================
--- trunk/src/unit_display.cpp (original)
+++ trunk/src/unit_display.cpp Mon Mar 30 20:28:26 2009
@@ -352,7 +352,7 @@
                if(leader == disp->get_units().end()) return;
                
disp->scroll_to_tiles(loc,leader_loc,game_display::ONSCREEN,true,0.0,false);
                leader->second.set_facing(leader_loc.get_relative_dir(loc));
-               
animator.add_animation(&leader->second,"recruiting",leader_loc,loc);
+               
animator.add_animation(&leader->second,"recruiting",leader_loc,loc,0,true);
        } else {
                disp->scroll_to_tile(loc,game_display::ONSCREEN,true,false);
        }




Related Messages


Powered by MHonArc, Updated Mon Mar 30 22:20:37 2009