mail[Wesnoth-commits] r33506 - /trunk/src/mouse_events.cpp


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

Header


Content

Posted by alinktomine on March 10, 2009 - 01:01:
Author: alink
Date: Tue Mar 10 00:43:20 2009
New Revision: 33506

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33506&view=rev
Log:
Fix a bug about using "next unit" during a move, which sometimes selected
the empty initial position of the moving unit

Modified:
    trunk/src/mouse_events.cpp

Modified: trunk/src/mouse_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/mouse_events.cpp?rev=33506&r1=33505&r2=33506&view=diff
==============================================================================
--- trunk/src/mouse_events.cpp (original)
+++ trunk/src/mouse_events.cpp Tue Mar 10 00:43:20 2009
@@ -697,6 +697,9 @@
                        it->second.invisible(it->first,units_,teams_))
                return false;
 
+       if(it->second.get_hidden())
+               return false;
+
        return true;
 
 }




Related Messages


Powered by MHonArc, Updated Tue Mar 10 01:20:37 2009