mail[Wesnoth-commits] r44590 - /trunk/src/unit_animation.cpp


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

Header


Content

Posted by jeremy . rosen on July 23, 2010 - 18:04:
Author: boucman
Date: Fri Jul 23 18:04:43 2010
New Revision: 44590

URL: http://svn.gna.org/viewcvs/wesnoth?rev=44590&view=rev
Log:
fix units in WB not flapping their wings correctly. Not sure the new attitude 
is correct or if we want them completely frozen. TBD, but at least it doesn't 
look buggy anymore

Modified:
    trunk/src/unit_animation.cpp

Modified: trunk/src/unit_animation.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit_animation.cpp?rev=44590&r1=44589&r2=44590&view=diff
==============================================================================
--- trunk/src/unit_animation.cpp (original)
+++ trunk/src/unit_animation.cpp Fri Jul 23 18:04:43 2010
@@ -349,11 +349,11 @@
                animations.back().play_offscreen_ = false;
 
                animations.push_back(*itor);
-               
animations.back().unit_anim_.override(0,300,"0.9","",0,"","","~GS()");
+               
animations.back().unit_anim_.override(0,animations.back().unit_anim_.get_animation_duration(),"0.9","",0,"","","~GS()");
                animations.back().event_ = utils::split("ghosted");
 
                animations.push_back(*itor);
-               
animations.back().unit_anim_.override(0,300,"0.4","",0,"","","~GS()");
+               
animations.back().unit_anim_.override(0,1,"0.4","",0,"","","~GS()");
                animations.back().event_ = utils::split("disabled_ghosted");
 
                animations.push_back(*itor);




Related Messages


Powered by MHonArc, Updated Fri Jul 23 19:00:15 2010