mail[Wesnoth-commits] r43600 - /trunk/src/whiteboard/move.cpp


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

Header


Content

Posted by gabrielmorin on June 19, 2010 - 23:38:
Author: gabba
Date: Sat Jun 19 23:38:37 2010
New Revision: 43600

URL: http://svn.gna.org/viewcvs/wesnoth?rev=43600&view=rev
Log:
Whiteboard: highlight arrow before move execution.

Modified:
    trunk/src/whiteboard/move.cpp

Modified: trunk/src/whiteboard/move.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/move.cpp?rev=43600&r1=43599&r2=43600&view=diff
==============================================================================
--- trunk/src/whiteboard/move.cpp (original)
+++ trunk/src/whiteboard/move.cpp Sat Jun 19 23:38:37 2010
@@ -75,6 +75,8 @@
 
 void move::execute()
 {
+       arrow_->set_alpha(ALPHA_HIGHLIGHT);
+
        static const bool show_move = false;
        map_location* next_unit = NULL; //Set to something else than null to 
get final unit location in this out parameter
        ::move_unit(NULL, arrow_->get_path(), &recorder, 
resources::undo_stack, show_move, next_unit,




Related Messages


Powered by MHonArc, Updated Sun Jun 20 02:00:07 2010