mail[Wesnoth-commits] r44541 - /trunk/src/whiteboard/manager.hpp


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

Header


Content

Posted by gabrielmorin on July 22, 2010 - 11:03:
Author: gabba
Date: Thu Jul 22 11:03:09 2010
New Revision: 44541

URL: http://svn.gna.org/viewcvs/wesnoth?rev=44541&view=rev
Log:
Whiteboard: erase temp move when deselecting (fixes regression)

Modified:
    trunk/src/whiteboard/manager.hpp

Modified: trunk/src/whiteboard/manager.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/manager.hpp?rev=44541&r1=44540&r2=44541&view=diff
==============================================================================
--- trunk/src/whiteboard/manager.hpp (original)
+++ trunk/src/whiteboard/manager.hpp Thu Jul 22 11:03:09 2010
@@ -60,7 +60,7 @@
        void on_finish_side_turn();
        void on_mouseover_change(const map_location& hex);
        void on_select_hex(){}
-       void on_deselect_hex(){}
+       void on_deselect_hex(){ erase_temp_move();}
 
        side_actions_ptr viewer_actions() const;
        side_actions_ptr current_side_actions() const;




Related Messages


Powered by MHonArc, Updated Thu Jul 22 15:40:14 2010