Author: boucman
Date: Sun Oct 12 12:10:24 2008
New Revision: 30079

URL: http://svn.gna.org/viewcvs/wesnoth?rev=30079&view=rev
Log:
allow interrupting selection anim when standing anims are disabled

Modified:
    trunk/src/unit.cpp

Modified: trunk/src/unit.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.cpp?rev=30079&r1=30078&r2=30079&view=diff
==============================================================================
--- trunk/src/unit.cpp (original)
+++ trunk/src/unit.cpp Sun Oct 12 12:10:24 2008
@@ -1781,7 +1781,7 @@
        if (preferences::show_standing_animations()) {
                
start_animation(INT_MAX,loc,choose_animation(disp,loc,"selected"),true,false,"",0,STATE_FORGET);
        } else {
-               
start_animation(INT_MAX,loc,choose_animation(disp,loc,"_disabled_selected_"),true,false,"",0,STATE_STANDING);
+               
start_animation(INT_MAX,loc,choose_animation(disp,loc,"_disabled_selected_"),true,false,"",0,STATE_FORGET);
        }
 }
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to